Function at 0x41d09f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41d0c1
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 [0x4b50a1]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d12c
push 0x3f
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
push 0x80000301
push 0
push dword [0x4b4dc5]
push 1
mov ebx, 0xc
mov eax, 0x4a3020
call fcn.0049cc70
add esp, 0x10
push 1
call fcn.0041d4bf
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41d170
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049db30
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d196
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41d2d4
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b50a9]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d1d3
push 0xcf
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
call fcn.00410025
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d1eb
mov eax, 0x4ae21c
push eax
push 1
mov ebx, 0x194
call fcn.0049d150
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41d25e
push 0x5f5e100
call fcn.0041d000
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d241
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d255
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41d1d8
push 1
push 2
push 0x407f4000
push 0
call fcn.0041a59a
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5151]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d2a6
push 0x212
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b514d]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d2d4
push 0x22e
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
push 3
call fcn.0041d4bf
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41d2f4
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049db30
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d31a
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x41d458
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b50a9]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d357
push 0x2b9
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
call fcn.00410025
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41d36f
mov eax, 0x4ae21c
push eax
push 1
mov ebx, 0x194
call fcn.0049d150
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x41d3e2
push 0x5f5e100
call fcn.0041d000
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d3c5
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d3d9
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41d35c
push 1
push 2
push 0x407f4000
push 0
call fcn.0041a59a
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5151]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d42a
push 0x3fc
push 0x402cd51
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4b514d]
nop
nop
cmp dword [ebp - 8], esp
je 0x41d458
push 0x418
push 0x402cd51
push 6
call fcn.0049c19e
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 0x41d481
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x4b4dc5]
push 1
mov ebx, 0x10
mov eax, 0x4a3040
call fcn.0049cc70
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d4bb
push ebx
call fcn.0049c198
add esp, 4
mov esp, ebp
pop ebp
ret