Function at 0x40315f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x40317a
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
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
mov dword [ebp - 4], esp
push 0
xor eax, eax
call dword [0x4c4d0e]
nop
nop
cmp dword [ebp - 4], esp
je 0x403212
push 0x30
push 0x4026f2a
push 6
call fcn.004ac089
add esp, 0xc
fninit
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403229
mov eax, 0x4bd3e2
push eax
push 1
mov ebx, 0x178
call fcn.004adb50
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403252
mov eax, 0x4bd3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ade30
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403278
push ebx
call fcn.004ac083
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040362a
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4032ad
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4032bd
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4c49a2]
test ebx, ebx
je 0x4032d4
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49a2], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.004ade30
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040362a
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40332e
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40333e
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4c49a6]
test ebx, ebx
je 0x403355
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49a6], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.004ade30
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040362a
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4033af
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4033bf
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4c49aa]
test ebx, ebx
je 0x4033d6
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49aa], eax
mov eax, str.44658C1A684BC4AF1095D84927BC3AD658823A91D6A010AB2E3FC0EA2B74376A28F6EBFE851D49B3392CA12DB24C71CAE0F76C18D5742FF4394B280CFC20334F982AEEE833B962DD934296C06E3AB9E52C856AB3DB20150F5BC6701995876D7382740583D2184AACC709C9B88EBBF5CD914660EE7849CB3F22D7BFCC1415FCFB
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403850
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403400
push ebx
call fcn.004ac083
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040362a
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403435
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403445
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4c49ae]
test ebx, ebx
je 0x40345c
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49ae], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403850
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403486
push ebx
call fcn.004ac083
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040362a
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4034bb
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4034cb
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4c49b2]
test ebx, ebx
je 0x4034e2
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49b2], eax
push reloc.WS2_32.dll_connect
push 0
push str.7E21FFCD
push 1
mov ebx, 0x198
call fcn.004ade30
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040362a
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40353e
push ebx
call fcn.004ac083
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40354e
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4c49b6]
test ebx, ebx
je 0x403565
push ebx
call fcn.004ac083
add esp, 4
pop eax
mov dword [0x4c49b6], eax
mov eax, dword [ebp + 0x24]
mov dword [0x4c49ba], eax
cmp dword [0x4c49be], 0
jne 0x40359c
push 0
mov ebx, 4
mov eax, 0x4b2bd0
call fcn.004acb70
add esp, 4
mov dword [0x4c49be], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4c49c2], eax
push 0x4bd3e2
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402cdb
add esp, 8
cmp eax, 0
je 0x40360e
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4035d4
mov eax, 0x4bd3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ade30
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403adf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403606
push ebx
call fcn.004ac083
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x4c49c6], eax
jmp 0x40361e
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c