Function at 0x41c5a9
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41c5cb
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
fninit
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b5090]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c636
push 0x3f
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
push 0x80000301
push 0
push dword [0x4b4d9c]
push 1
mov ebx, 0xc
mov eax, 0x4a34e0
call fcn.0049d3c0
add esp, 0x10
push 1
call fcn.0041c9c9
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41c67a
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e680
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c6a0
push ebx
call fcn.0049c8e9
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41c7de
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b5098]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c6dd
push 0xcf
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
call fcn.0040f52f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41c6f5
mov eax, 0x4ae216
push eax
push 1
mov ebx, 0x194
call fcn.0049d7f0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41c768
push 0x5f5e100
call fcn.0041c50a
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040144f
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c74b
push ebx
call fcn.0049c8e9
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c75f
push ebx
call fcn.0049c8e9
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41c6e2
push 1
push 2
push 0x407f4000
push 0
call fcn.00419aa4
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5140]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c7b0
push 0x212
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b513c]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c7de
push 0x22e
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
push 3
call fcn.0041c9c9
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41c7fe
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e680
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c824
push ebx
call fcn.0049c8e9
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41c962
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b5098]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c861
push 0x2b9
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
call fcn.0040f52f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41c879
mov eax, 0x4ae216
push eax
push 1
mov ebx, 0x194
call fcn.0049d7f0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41c8ec
push 0x5f5e100
call fcn.0041c50a
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040144f
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41c8cf
push ebx
call fcn.0049c8e9
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c8e3
push ebx
call fcn.0049c8e9
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41c866
push 1
push 2
push 0x407f4000
push 0
call fcn.00419aa4
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5140]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c934
push 0x3fc
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b513c]
nop
nop
cmp dword [ebp - 8], esp
je 0x41c962
push 0x418
push 0x402c9ab
push 6
call fcn.0049c8ef
add esp, 0xc
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41c98b
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x4b4d9c]
push 1
mov ebx, 0x10
mov eax, 0x4a3500
call fcn.0049d3c0
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c9c5
push ebx
call fcn.0049c8e9
add esp, 4
mov esp, ebp
pop ebp
ret