Function at 0x419971
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x419993
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 [0x4cb6f7]
nop
nop
cmp dword [ebp - 8], esp
je 0x4199fe
push 0x3f
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0xc
mov eax, 0x4b68f0
call fcn.004b0770
add esp, 0x10
push 1
call fcn.00419d91
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x419a42
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x9dc
call fcn.004b1b50
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419a68
push ebx
call fcn.004afd1b
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x419ba6
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4cb6ff]
nop
nop
cmp dword [ebp - 8], esp
je 0x419aa5
push 0xcf
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
call fcn.00418a4d
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x419abd
mov eax, 0x4c120c
push eax
push 1
mov ebx, 0x194
call fcn.004b0eb0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x419b30
push 0x5f5e100
call fcn.004198d2
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014b0
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419b13
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419b27
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x419aaa
push 1
push 2
push 0x407f4000
push 0
call fcn.00416876
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4cb76b]
nop
nop
cmp dword [ebp - 8], esp
je 0x419b78
push 0x212
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4cb767]
nop
nop
cmp dword [ebp - 8], esp
je 0x419ba6
push 0x22e
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
push 3
call fcn.00419d91
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x419bc6
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x9dc
call fcn.004b1b50
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419bec
push ebx
call fcn.004afd1b
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x419d2a
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4cb6ff]
nop
nop
cmp dword [ebp - 8], esp
je 0x419c29
push 0x2b9
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
call fcn.00418a4d
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x419c41
mov eax, 0x4c120c
push eax
push 1
mov ebx, 0x194
call fcn.004b0eb0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x419cb4
push 0x5f5e100
call fcn.004198d2
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014b0
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419c97
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419cab
push ebx
call fcn.004afd1b
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x419c2e
push 1
push 2
push 0x407f4000
push 0
call fcn.00416876
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x4cb76b]
nop
nop
cmp dword [ebp - 8], esp
je 0x419cfc
push 0x3fc
push 0x4029d8f
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x4cb767]
nop
nop
cmp dword [ebp - 8], esp
je 0x419d2a
push 0x418
push 0x4029d8f
push 6
call fcn.004afd21
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 0x419d53
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x4cb3c7]
push 1
mov ebx, 0x10
mov eax, 0x4b6910
call fcn.004b0770
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419d8d
push ebx
call fcn.004afd1b
add esp, 4
mov esp, ebp
pop ebp
ret