Function at 0x427943
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x427981
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
mov dword [ebp - 0x18], esp
push 0
xor eax, eax
call dword [0x4cb6f7]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4279ec
push 0x3f
push 0x4029e8d
push 6
call fcn.004afd21
add esp, 0xc
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0xc
mov eax, 0x4b68f0
call fcn.004b0770
add esp, 0x10
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 0
push 1
call fcn.00419d91
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x427a39
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x9dc
call fcn.004b1b50
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x427a5f
push ebx
call fcn.004afd1b
add esp, 4
cmp dword [ebp - 0x1c], 1
jge 0x427a97
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0x10
mov eax, 0x4b6910
call fcn.004b0770
add esp, 0x10
mov eax, 0x4c120c
jmp 0x427ece
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x427aac
mov eax, 0x4c120c
push eax
push 1
mov ebx, 0x194
call fcn.004b0eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x427afa
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0x10
mov eax, 0x4b6910
call fcn.004b0770
add esp, 0x10
mov eax, 0x4c120c
jmp 0x427ece
call fcn.0040b4a9
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427b16
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.00412792
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
push dword [0x4cb407]
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427b68
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x427b7b
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x427ba1
push ebx
call fcn.004afd1b
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00411052
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x427bd6
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427be6
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040b299
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x427c02
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427c16
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x19a8cff8
mov dword [ebp - 0x10], 0x517e3c26
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x4cb3bf
call fcn.004125a0
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427c5e
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x427c71
mov eax, 0x4c120c
push eax
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x427c97
push ebx
call fcn.004afd1b
add esp, 4
call fcn.00412792
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0x4cb43b
call fcn.00417a14
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x427cef
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x427d02
mov eax, 0x4c120c
push eax
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x427d28
push ebx
call fcn.004afd1b
add esp, 4
push dword [ebp + 8]
call fcn.0040af82
mov dword [ebp - 0x40], eax
push dword [ebp - 4]
push 0x4c15ac
push dword [ebp - 8]
push 0x4c15ac
push dword [ebp - 0x40]
push 0x4c15ac
push dword [ebp - 0x3c]
push 0x4c15ac
push dword [ebp - 0x2c]
push 0x4c5238
push dword [ebp - 0x24]
push 0x4c20ae
mov ecx, 0xc
call fcn.00401454
add esp, 0x30
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x427d83
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427d93
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x427da3
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x427db3
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x427dc6
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x427dec
push ebx
call fcn.004afd1b
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
push dword [ebp + 0xc]
push 1
push 1
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x48]
push eax
call fcn.004148bf
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x427e44
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427e58
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0x10
mov eax, 0x4b6910
call fcn.004b0770
add esp, 0x10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427e9a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004afd15
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x427ece
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427edf
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427eef
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427eff
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc