Function at 0x1001ca28
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x1001ca4a
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 [0x100c1bb0]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cab5
push 0x3f
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
push 0x80000301
push 0
push dword [0x100c188c]
push 1
mov ebx, 0xc
mov eax, 0x100af560
call fcn.100a9580
add esp, 0x10
push 1
call fcn.1001ce48
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001caf9
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x9dc
call fcn.100a97f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001cb1f
push ebx
call fcn.100a8a3a
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x1001cc5d
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100c1bb8]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cb5c
push 0xcf
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
call fcn.1000f9ae
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001cb74
mov eax, 0x100ba4a0
push eax
push 1
mov ebx, 0x194
call fcn.100a97e0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x1001cbe7
push 0x5f5e100
call fcn.1001c989
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003597
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001cbca
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001cbde
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x1001cb61
push 1
push 2
push 0x407f4000
push 0
call fcn.10019f23
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x100c1c60]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cc2f
push 0x212
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x100c1c5c]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cc5d
push 0x22e
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
push 3
call fcn.1001ce48
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001cc7d
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x9dc
call fcn.100a97f0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001cca3
push ebx
call fcn.100a8a3a
add esp, 4
cmp dword [ebp - 0xc], 1
jge 0x1001cde1
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100c1bb8]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cce0
push 0x2b9
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
call fcn.1000f9ae
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001ccf8
mov eax, 0x100ba4a0
push eax
push 1
mov ebx, 0x194
call fcn.100a97e0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffea4d
je 0x1001cd6b
push 0x5f5e100
call fcn.1001c989
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003597
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001cd4e
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001cd62
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x1001cce5
push 1
push 2
push 0x407f4000
push 0
call fcn.10019f23
xor ebp, ebp
xor esp, esp
mov dword [ebp - 8], esp
push 0xfffffffe
xor eax, eax
call dword [0x100c1c60]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cdb3
push 0x3fc
push 0x402707a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [0x100c1c5c]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001cde1
push 0x418
push 0x402707a
push 6
call fcn.100a8a40
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 0x1001ce0a
nop
nop
nop
nop
nop
nop
push 0x80000301
push 0
push dword [0x100c188c]
push 1
mov ebx, 0x10
mov eax, 0x100af580
call fcn.100a9580
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001ce44
push ebx
call fcn.100a8a3a
add esp, 4
mov esp, ebp
pop ebp
ret