Function at 0x4037f6
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x403811
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 [0x4b50a1]
nop
nop
cmp dword [ebp - 4], esp
je 0x4038a9
push 0x30
push 0x402cc95
push 6
call fcn.0049c19e
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 0x4038c0
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x178
call fcn.0049e2d0
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 0x4038e9
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40390f
push ebx
call fcn.0049c198
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.00403cc1
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403944
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403954
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4b4da9]
test ebx, ebx
je 0x40396b
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4da9], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.0049e5b0
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.00403cc1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4039c5
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4039d5
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4b4dad]
test ebx, ebx
je 0x4039ec
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4dad], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.0049e5b0
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.00403cc1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403a46
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403a56
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4b4db1]
test ebx, ebx
je 0x403a6d
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4db1], eax
mov eax, str.44658C1A684BC4AF1095D84927BC3AD658823A91D6A010AB2E3FC0EA2B74376A28F6EBFE851D49B3392CA12DB24C71CAE0F76C18D5742FF4394B280CFC20334F982AEEE833B962DD934296C06E3AB9E52C856AB3DB20150F5BC6701995876D7382740583D2184AACC709C9B88EBBF5CD914660EE7849CB3F22D7BFCC1415FCFB
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403ee7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403a97
push ebx
call fcn.0049c198
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.00403cc1
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403acc
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403adc
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4b4db5]
test ebx, ebx
je 0x403af3
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4db5], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403ee7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403b1d
push ebx
call fcn.0049c198
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.00403cc1
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403b52
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403b62
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x4b4db9]
test ebx, ebx
je 0x403b79
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4db9], eax
push reloc.WS2_32.dll_connect
push 0
push str.7E21FFCD
push 1
mov ebx, 0x198
call fcn.0049e5b0
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.00403cc1
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403bd5
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403be5
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x4b4dbd]
test ebx, ebx
je 0x403bfc
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [0x4b4dbd], eax
mov eax, dword [ebp + 0x24]
mov dword [0x4b4dc1], eax
cmp dword [0x4b4dc5], 0
jne 0x403c33
push 0
mov ebx, 4
mov eax, 0x4a2f90
call fcn.0049cc70
add esp, 4
mov dword [0x4b4dc5], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4b4dc9], eax
push 0x4ae20b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040334c
add esp, 8
cmp eax, 0
je 0x403ca5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403c6b
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00404155
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403c9d
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x4b4dcd], eax
jmp 0x403cb5
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c