Function at 0x414c71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [0x5b8594], 0
jle 0x414c93
jmp 0x4155bc
mov eax, 0x5aa403
test eax, eax
je 0x414caf
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042ed63
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414cc0
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040a8b7
mov dword [ebp - 8], eax
push 0x4f5da2
push 0x3080
push dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x414cf4
jmp 0x4155bc
lea eax, [ebp - 4]
push eax
call fcn.0040a8b7
mov dword [ebp - 8], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x414d13
mov eax, 0x467391
push eax
push 1
mov ebx, 0x194
call fcn.0042fb00
add esp, 0x10
push eax
push dword [ebp - 8]
call fcn.00415605
mov dword [0x5b8594], eax
push 1
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84fc], eax
push 2
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84f8], eax
push 3
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8598], eax
push 4
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b859c], eax
push 5
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85a0], eax
push 6
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85a4], eax
push 7
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84a4], eax
push 8
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84a0], eax
push 9
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85a8], eax
push 0xa
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85ac], eax
push 0xb
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85b0], eax
push 0xc
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85b4], eax
push 0xd
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85b8], eax
push 0xe
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85bc], eax
push 0xf
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85c0], eax
push 0x10
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85c4], eax
push 0x11
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85c8], eax
push 0x12
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85cc], eax
push 0x13
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85d0], eax
push 0x14
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85d4], eax
push 0x15
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85d8], eax
push 0x16
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8514], eax
push 0x17
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85dc], eax
push 0x18
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85e0], eax
push 0x19
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85e4], eax
push 0x1a
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84ec], eax
push 0x1b
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85e8], eax
push 0x1c
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85ec], eax
push 0x1d
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85f0], eax
push 0x1e
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85f4], eax
push 0x1f
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84e8], eax
push 0x20
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84f0], eax
push 0x21
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b851c], eax
push 0x22
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85f8], eax
push 0x23
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b85fc], eax
push 0x24
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8600], eax
push 0x25
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8604], eax
push 0x26
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8608], eax
push 0x27
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b860c], eax
push 0x28
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8610], eax
push 0x29
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8614], eax
push 0x2a
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8618], eax
push 0x2b
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b861c], eax
push 0x2c
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8620], eax
push 0x2d
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8624], eax
push 0x2e
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84c4], eax
push 0x2f
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8628], eax
push 0x30
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b862c], eax
push 0x31
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8630], eax
push 0x32
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84e4], eax
push 0x33
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8634], eax
push 0x34
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8638], eax
push 0x35
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b863c], eax
push 0x36
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8640], eax
push 0x37
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8518], eax
push 0x38
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8644], eax
push 0x39
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8648], eax
push 0x3a
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b864c], eax
push 0x3b
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8650], eax
push 0x3c
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8654], eax
push 0x3d
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8658], eax
push 0x3e
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b865c], eax
push 0x3f
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8660], eax
push 0x40
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8664], eax
push 0x41
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8668], eax
push 0x42
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b866c], eax
push 0x43
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8670], eax
push 0x44
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8674], eax
push 0x45
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8540], eax
push 0x46
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b850c], eax
push 0x47
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8500], eax
push 0x48
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8510], eax
push 0x49
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8678], eax
push 0x4a
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b867c], eax
push 0x4b
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8508], eax
push 0x4c
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8504], eax
push 0x4d
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84ac], eax
push 0x4e
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84b8], eax
push 0x4f
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84bc], eax
push 0x50
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84a8], eax
push 0x51
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8680], eax
push 0x52
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84b4], eax
push 0x53
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84b0], eax
push 0x54
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b84c0], eax
push 0x55
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8684], eax
push 0x56
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8688], eax
push 0x57
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b868c], eax
push 0x58
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8690], eax
push 0x59
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8694], eax
push 0x5a
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b8698], eax
push 0x5b
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b869c], eax
push 0x5c
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86a0], eax
push 0x5d
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86a4], eax
push 0x5e
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86a8], eax
push 0x5f
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86ac], eax
push 0x60
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86b0], eax
push 0x61
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86b4], eax
push 0x62
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86b8], eax
push 0x63
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86bc], eax
push 0x64
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86c0], eax
push 0x65
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86c4], eax
push 0x66
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86c8], eax
push 0x67
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86cc], eax
push 0x68
push dword [0x5b8594]
call fcn.00415e40
mov dword [0x5b86d0], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4155cc
push ebx
call fcn.0042ed69
add esp, 4
mov esp, ebp
pop ebp
ret