Function at 0x41ce99
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41cebb
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 [0x4c2822]
nop
nop
cmp dword [ebp - 8], esp
je 0x41cf26
push 0x3f
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
push 0x80000301
push 0
push dword [0x4c24fe]
push 1
mov ebx, 0xc
mov eax, 0x4b0bb0
call fcn.004aaac0
add esp, 0x10
push 1
call fcn.0041d2b9
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41cf6a
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x9dc
call fcn.004aba20
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41cf90
push ebx
call fcn.004a9fcb
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41d0ce
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c282a]
nop
nop
cmp dword [ebp - 8], esp
je 0x41cfcd
push 0xcf
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
call fcn.0040fe1f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41cfe5
mov eax, 0x4bb404
push eax
push 1
mov ebx, 0x194
call fcn.004aafa0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41d058
push 0x5f5e100
call fcn.0041cdfa
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401d2d
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d03b
push ebx
call fcn.004a9fcb
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d04f
push ebx
call fcn.004a9fcb
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41cfd2
push 1
push 2
push 0x407f4000
push 0
call fcn.0041a394
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c28d2]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d0a0
push 0x212
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4c28ce]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d0ce
push 0x22e
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
push 3
call fcn.0041d2b9
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41d0ee
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x9dc
call fcn.004aba20
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d114
push ebx
call fcn.004a9fcb
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41d252
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c282a]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d151
push 0x2b9
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
call fcn.0040fe1f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d169
mov eax, 0x4bb404
push eax
push 1
mov ebx, 0x194
call fcn.004aafa0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41d1dc
push 0x5f5e100
call fcn.0041cdfa
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401d2d
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d1bf
push ebx
call fcn.004a9fcb
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d1d3
push ebx
call fcn.004a9fcb
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41d156
push 1
push 2
push 0x407f4000
push 0
call fcn.0041a394
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c28d2]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d224
push 0x3fc
push 0x4026eef
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4c28ce]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d252
push 0x418
push 0x4026eef
push 6
call fcn.004a9fd1
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 0x41d27b
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x4c24fe]
push 1
mov ebx, 0x10
mov eax, 0x4b0bd0
call fcn.004aaac0
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d2b5
push ebx
call fcn.004a9fcb
add esp, 4
mov esp, ebp
pop ebp
ret