Function at 0x40409b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
jmp 0x4040b6
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 [0x526979]
nop
nop
cmp dword [ebp - 4], esp
je 0x40414e
push 0x30
push 0x402a7e7
push 6
call fcn.004b0a81
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 0x404165
mov eax, 0x4c320b
push eax
push 1
mov ebx, 0x178
call fcn.004b24a0
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 0x40418e
mov eax, 0x4c320b
push eax
push 1
mov ebx, 0x198
call fcn.004b2780
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4041b4
push ebx
call fcn.004b0a7b
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.00404566
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4041e9
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4041f9
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x52663d]
test ebx, ebx
je 0x404210
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x52663d], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x198
call fcn.004b2780
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.00404566
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40426a
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40427a
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x526641]
test ebx, ebx
je 0x404291
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x526641], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.004b2780
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.00404566
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4042eb
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4042fb
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x526645]
test ebx, ebx
je 0x404312
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x526645], eax
mov eax, 0x4c35b9
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040478c
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40433c
push ebx
call fcn.004b0a7b
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.00404566
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404371
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404381
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x526649]
test ebx, ebx
je 0x404398
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x526649], eax
mov eax, str.C15525691BAE8850560D954A079F1D50E747239BD157F13B3BCBADA13D9B00F8C61D3137C72757ACE82F1BFA5299CB0A7095C8845C37C5D49A57623F8633B4D4C1DBC6932A88A25B08D4A3CD16F7E6681430371FE1243B829B30A87DF97CBB0B9F29FBBE0733F9954E0B3E562CFF71018B31D8B4D5664F1A4654EED6CFCEF501
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040478c
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4043c2
push ebx
call fcn.004b0a7b
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.00404566
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4043f7
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404407
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x52664d]
test ebx, ebx
je 0x40441e
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x52664d], eax
push reloc.WS2_32.dll_connect
push 0
push str.580E2ACA
push 1
mov ebx, 0x198
call fcn.004b2780
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.00404566
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40447a
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40448a
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x526651]
test ebx, ebx
je 0x4044a1
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [0x526651], eax
mov eax, dword [ebp + 0x24]
mov dword [0x526655], eax
cmp dword [0x526659], 0
jne 0x4044d8
push 0
mov ebx, 4
mov eax, 0x4b7530
call fcn.004b1420
add esp, 4
mov dword [0x526659], eax
mov eax, dword [ebp + 0x14]
mov dword [0x52665d], eax
push 0x4c320b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00403b86
add esp, 8
cmp eax, 0
je 0x40454a
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404510
mov eax, 0x4c320b
push eax
push 1
mov ebx, 0x198
call fcn.004b2780
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004049fa
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404542
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x526661], eax
jmp 0x40455a
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 0x2c