Function at 0x42fd40
Capabilities:
Access peb ldr_data
Delete file
Get number of processors
Get process heap flags
Get process heap force flags
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x30]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x2c], 0
call fcn.00402260
lea edx, [esp + 0x34]
lea ecx, [esi + 8]
push edx
call fcn.00402260
lea eax, [esp + 0x38]
lea ecx, [esi + 0xc]
push eax
call fcn.00402260
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x18]
push eax
mov dword [esi + 0x14], edx
call fcn.00402260
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x24]
push eax
mov dword [esi + 0x20], edx
call fcn.00402260
mov cx, word [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov word [esi + 0x28], cx
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x2c], edx
lea edx, [esp + 0x64]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x38]
push edx
mov dword [esi + 0x30], eax
call fcn.00402260
lea eax, [esp + 0x68]
lea ecx, [esi + 0x3c]
push eax
call fcn.00402260
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi + 0xd0]
push ecx
lea ebp, [esi + 0xd0]
sub eax, 0x10
mov dword [esp + 0x70], esp
mov edi, esp
push eax
mov dword [esi + 0x78], ecx
call fcn.00401700
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0042c000
lea eax, [esi + 0x40]
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dx, word [esi + 0x28]
mov ecx, dword [esi + 0x30]
mov word [eax], dx
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov eax, dword [esi + 0xcc]
push ecx
sub eax, 0x10
mov dword [esp + 0x70], esp
mov edi, esp
push eax
call fcn.00401700
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0xc8]
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov byte [esp + 0x34], 1
call fcn.00401700
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov eax, dword [esi + 0xc0]
push eax
mov eax, dword [esi + 0xc4]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov byte [esp + 0x3c], 2
call fcn.00401700
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
mov byte [esp + 0x38], 0
call fcn.0042d400
mov edi, eax
test edi, edi
jne 0x42ffba
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fefb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x430370
push edi
mov ecx, esi
call fcn.0042da50
test al, al
jne 0x42ffdb
push 0x483360
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0xd4], 1
mov eax, dword [esi + 0xdc]
push ecx
sub eax, 0x10
mov dword [esp + 0x70], esp
mov ebx, esp
push eax
call fcn.00401700
add eax, 0x10
add esp, 4
mov dword [ebx], eax
push edi
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call fcn.0042dd50
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 3
call fcn.00402260
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x430057
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x30]
call fcn.00408ea0
xor al, al
jmp 0x430370
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x70], esp
mov ebx, esp
push eax
call fcn.00401700
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.0042e080
test eax, eax
je 0x430040
mov eax, dword [esi + 0xb8]
cmp eax, dword [esi + 0xbc]
mov dword [esi + 0x1c], eax
ja 0x43009a
mov eax, 1
mov dword [esi + 0xd4], eax
mov dword [esi + 0x14], eax
push str..adam
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.00403630
lea ecx, [esp + 0x78]
push ecx
lea ebx, [esi + 0xd8]
lea edx, [esp + 0x24]
push ebx
push edx
mov byte [esp + 0x40], 4
call fcn.00409360
add esp, 0x18
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c], 5
call fcn.00402260
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov dword [esp + 0x18], esp
push eax
call fcn.00401700
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, esi
call fcn.0042bcb0
test al, al
je 0x430185
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004034d0
mov ecx, esi
call fcn.0042bc30
test eax, eax
je 0x430185
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004034d0
mov ecx, esi
call fcn.0042e440
test al, al
je 0x430185
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004034d0
mov ecx, esi
call fcn.0042e9d0
mov eax, dword [esi + 0xd4]
mov dword [esi + 0x14], eax
jmp 0x430267
mov ecx, dword [esp + 0x6c]
push 0x48317c
push ecx
call fcn.00451c9c
add esp, 8
test eax, eax
mov dword [esi + 0x94], eax
jne 0x4301ea
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1c]
push 0x483354
push eax
call fcn.0040eaf0
push 0x48334c
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x40], 6
call fcn.00403630
mov edx, dword [eax]
add esp, 0x18
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x14]
call fcn.004019d0
lea ecx, [esp + 0x18]
call fcn.004019d0
jmp 0x430240
mov eax, dword [esi + 0xb8]
push eax
push ebp
mov ecx, ebx
mov dword [esi + 0x88], 0
call fcn.004094d0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004034d0
mov ecx, esi
call fcn.0042cb80
test al, al
jne 0x430260
push 0x483338
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x94]
push ecx
call fcn.00451974
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x6c]
call fcn.004019d0
lea ecx, [esp + 0x30]
call fcn.00408ea0
xor al, al
jmp 0x430370
mov ecx, esi
call fcn.0042eb40
mov eax, dword [esi + 0xac]
cmp eax, dword [esi + 0xb8]
jb 0x4302e9
mov ecx, dword [esi + 0x94]
push ecx
call fcn.00451974
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str..chr
push ebx
push eax
call fcn.00403630
add esp, 0xc
mov ecx, esi
call fcn.0042bcb0
test al, al
je 0x4302d7
push str..chr
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00403630
mov edx, dword [ebx]
mov eax, dword [eax]
push edx
push eax
call fcn.00451f37
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.004019d0
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43035c
push 0x64
call fcn.00460104
add esp, 4
push str.QUIT__r_n
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.004025d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
mov ebx, 7
push edi
mov byte [esp + 0x38], bl
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x430330
xor eax, eax
test ebp, ebp
mov byte [eax + ebp], 0
je 0x430345
push ebp
call fcn.00460109
add esp, 4
mov dword [esp + 0x28], ebx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.0042fcf0
lea ecx, [esp + 0x10]
call fcn.004019d0
lea ecx, [esp + 0x6c]
call fcn.004019d0
lea ecx, [esp + 0x30]
call fcn.00408ea0
mov al, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x40