Function at 0x410e40
Capabilities:
Create directory
Move file
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641fa8
push eax
mov eax, 0x1834
mov dword fs:[0], esp
call fcn.00612380
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov dword [ebp - 4], 0
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00406160
push 0x100
lea ecx, [ebp - 0x840]
push ecx
push 0x100
lea edx, [ebp - 0x238]
push edx
push 0x100
lea eax, [ebp - 0x640]
push eax
push 3
lea ecx, [ebp - 0x38]
push ecx
push edi
call fcn.00611a16
add esp, 0x24
cmp byte [ebp + 0xc], 0
je 0x411033
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x2d28]
call fcn.004265c0
mov edi, dword [esi + 0x2d2c]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x410f79
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410f3a
push 0x80004005
call fcn.004011d0
mov ecx, eax
mov eax, dword [ebp - 0x18]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410f66
test dx, dx
je 0x410f62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410f66
add eax, 4
add ecx, 4
test dx, dx
jne 0x410f40
xor eax, eax
jmp 0x410f6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
test al, al
jne 0x410f79
lea eax, [ebp - 0x24]
jmp 0x410f7f
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
mov edi, dword [eax]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [esi + 0x2d2c]
je 0x41113a
mov edi, dword [edi + 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41101f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0x2d18]
call fcn.004265c0
mov edi, dword [esi + 0x2d1c]
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x4110b9
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41107a
push 0x80004005
call fcn.004011d0
mov ecx, eax
mov eax, dword [ebp - 0x18]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4110a6
test dx, dx
je 0x4110a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4110a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411080
xor eax, eax
jmp 0x4110ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
test al, al
jne 0x4110b9
lea eax, [ebp - 0x20]
jmp 0x4110bf
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
mov edi, dword [eax]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [esi + 0x2d1c]
je 0x41113a
mov edi, dword [edi + 0x10]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411135
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410ff9
mov edx, dword [ebp - 0x10]
push ebx
push 0x66e4e4
lea ecx, [ebp - 0x238]
push ecx
push edx
push 0x66e2c0
lea ebx, [esi + 0x18bc]
push ebx
lea eax, [ebp + 8]
push str._s_s_s_s._s
push eax
call fcn.00405ab0
mov ecx, dword [ebp + 8]
add esp, 0x1c
push 0
push 0
push 3
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41119f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x440]
push eax
jmp 0x411404
mov ecx, esi
call fcn.00404180
test eax, eax
jne 0x41122f
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41121a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x2d10], 0
je 0x41123f
mov ecx, esi
call fcn.00407d60
mov dword [ebp - 0x2a], 0
mov ax, word [ebp - 0x28]
mov dword [ebp - 0x2e], 0x20059201
mov edx, dword [ebp - 0x2c]
mov word [ebp - 0x1838], ax
mov eax, dword [ebp - 0x14]
mov word [ebp - 0x30], 0x124
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1840], ecx
mov dword [ebp - 0x183c], edx
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x1836], edi
cmp dword [eax - 4], 1
jle 0x411291
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401370
mov eax, dword [ebp - 0x14]
lea edx, [edi + edi]
push edx
push eax
lea eax, [ebp - 0x1832]
push eax
call fcn.00610e50
mov edx, dword [esi + 0x48]
add esp, 0xc
push 0
lea edi, [edi + edi + 0xe]
push edi
lea ecx, [ebp - 0x1840]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
or edi, 0xffffffff
cmp eax, edi
je 0x411338
mov ecx, dword [esi + 0x48]
push 0
lea eax, [ebp - 0x440]
push eax
push ecx
mov ecx, esi
call fcn.0040e050
test eax, eax
jne 0x411370
cmp byte [ebp + 0xc], al
je 0x411304
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp + 0xc]
call fcn.0040bea0
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x2d28]
jmp 0x411321
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040bea0
mov byte [ebp - 4], 0x13
lea edx, [ebp + 0xc]
push edx
lea ecx, [esi + 0x2d18]
call fcn.0042f5b0
mov dword [eax], 0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.004014a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014a0
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
call fcn.004014a0
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x640]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.00403db0
mov edx, dword [ebp - 0x10]
push edx
push 0x66e2c0
push ebx
lea eax, [ebp + 8]
push 0x66ef48
push eax
call fcn.00405ab0
mov ecx, dword [ebp + 8]
add esp, 0x28
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x10]
push 0x66e4e4
lea edx, [ebp - 0x238]
push edx
push eax
push 0x66e2c0
push ebx
lea ecx, [ebp + 8]
push str._s_s_s_s._s
push ecx
call fcn.00405ab0
mov edx, dword [ebp + 8]
add esp, 0x1c
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x440]
push edx
call fcn.00611c28
add esp, 0xc
push 0x100
lea eax, [ebp - 0x840]
push eax
push 0x100
lea ecx, [ebp - 0x238]
push ecx
push 0x100
lea edx, [ebp - 0x640]
push edx
push 3
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
push ecx
call fcn.00611a16
add esp, 0x24
cmp byte [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
je 0x411515
lea edx, [ebp - 0x238]
push edx
call fcn.0040bea0
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
lea edi, [esi + 0x2d28]
push ecx
mov ecx, edi
call fcn.00464500
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41149a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x2d2c]
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x41150a
mov esi, dword [sym.imp.SHELL32.dll_ExtractIconExW]
push 1
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
lea edx, [ebp - 0x440]
push edx
call esi
test eax, eax
jne 0x4114d6
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x440]
push ecx
call esi
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp + 0xc]
call fcn.0040bea0
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0042f5b0
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.004014a0
jmp 0x4115b8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x1c], edx
jmp 0x4115b8
lea eax, [ebp - 0x238]
push eax
call fcn.0040bea0
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
lea edi, [esi + 0x2d18]
push edx
mov ecx, edi
call fcn.00464500
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41155d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x2d1c]
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x4115b2
push 1
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
lea edx, [ebp - 0x440]
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040bea0
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.0042f5b0
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.004014a0
jmp 0x4115b8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411627
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8