Function at 0x41a9be
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41a9e0
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 [0x4fecfc]
nop
nop
cmp dword [ebp - 8], esp
je 0x41aa41
push 6
call fcn.0043f1f8
add esp, 4
push 0x80000301
push 0
push dword [0x4fe974]
push 1
mov ebx, 0xc
mov eax, 0x445620
call fcn.00440390
add esp, 0x10
push 1
call fcn.0041ad98
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41aa85
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x9dc
call fcn.004413e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41aaab
push ebx
call fcn.0043f20a
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41abcb
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4fed04]
nop
nop
cmp dword [ebp - 8], esp
je 0x41aade
push 6
call fcn.0043f1f8
add esp, 4
call fcn.0040decb
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41aaf6
mov eax, 0x46459e
push eax
push 1
mov ebx, 0x194
call fcn.004413c0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41ab69
push 0x5f5e100
call fcn.0041a62c
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f1d
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41ab4c
push ebx
call fcn.0043f20a
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ab60
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41aae3
push 1
push 2
push 0x407f4000
push 0
call fcn.00417e50
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4fedac]
nop
nop
cmp dword [ebp - 8], esp
je 0x41aba7
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4feda8]
nop
nop
cmp dword [ebp - 8], esp
je 0x41abcb
push 6
call fcn.0043f1f8
add esp, 4
push 3
call fcn.0041ad98
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41abeb
mov eax, 0x46430b
push eax
push 1
mov ebx, 0x9dc
call fcn.004413e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41ac11
push ebx
call fcn.0043f20a
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41ad31
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4fed04]
nop
nop
cmp dword [ebp - 8], esp
je 0x41ac44
push 6
call fcn.0043f1f8
add esp, 4
call fcn.0040decb
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41ac5c
mov eax, 0x46459e
push eax
push 1
mov ebx, 0x194
call fcn.004413c0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41accf
push 0x5f5e100
call fcn.0041a62c
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f1d
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41acb2
push ebx
call fcn.0043f20a
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41acc6
push ebx
call fcn.0043f20a
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41ac49
push 1
push 2
push 0x407f4000
push 0
call fcn.00417e50
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4fedac]
nop
nop
cmp dword [ebp - 8], esp
je 0x41ad0d
push 6
call fcn.0043f1f8
add esp, 4
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4feda8]
nop
nop
cmp dword [ebp - 8], esp
je 0x41ad31
push 6
call fcn.0043f1f8
add esp, 4
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41ad5a
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x4fe974]
push 1
mov ebx, 0x10
mov eax, 0x445640
call fcn.00440390
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ad94
push ebx
call fcn.0043f20a
add esp, 4
mov esp, ebp
pop ebp
ret