Function at 0x1002e76f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x1002e7ad
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 - 0x18], esp
push 0
xor eax, eax
call dword [0x100c1bb0]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002e818
push 0x3f
push 0x40270c1
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
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 0
push 1
call fcn.1001ce48
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1002e865
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x9dc
call fcn.100a97f0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1002e88b
push ebx
call fcn.100a8a3a
add esp, 4
cmp dword [ebp - 0x1c], 1
jge 0x1002e8c3
push 0x80000301
push 0
push dword [0x100c188c]
push 1
mov ebx, 0x10
mov eax, 0x100af580
call fcn.100a9580
add esp, 0x10
mov eax, 0x100ba20b
jmp 0x1002ed33
push 0x100ba20b
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10002d05
add esp, 8
cmp eax, 0
jne 0x1002e90c
push 0x80000301
push 0
push dword [0x100c188c]
push 1
mov ebx, 0x10
mov eax, 0x100af580
call fcn.100a9580
add esp, 0x10
mov eax, 0x100ba20b
jmp 0x1002ed33
call fcn.1000b0d5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1002e928
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.10015f3a
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
push dword [ebp - 0x1c]
push dword [0x100c18cc]
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002e97a
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002e98d
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1002e9b3
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100147fa
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1002e9e8
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1002e9f8
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.1000aec5
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1002ea14
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1002ea28
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x83a3ee9c
mov dword [ebp - 0x10], 0xa860f3ec
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x100c1884
call fcn.10015d48
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002ea70
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002ea83
mov eax, 0x100ba4a0
push eax
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1002eaa9
push ebx
call fcn.100a8a3a
add esp, 4
call fcn.10015f3a
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0x100c1900
call fcn.1001b0c1
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1002eb01
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x1002eb14
mov eax, 0x100ba4a0
push eax
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1002eb3a
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1002eb4f
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1000abae
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1002eb81
push ebx
call fcn.100a8a3a
add esp, 4
push dword [ebp - 4]
push 0x100ba79c
push dword [ebp - 8]
push 0x100ba79c
push dword [ebp - 0x44]
push 0x100ba79c
push dword [ebp - 0x3c]
push 0x100ba79c
push dword [ebp - 0x2c]
push 0x100bbc17
push dword [ebp - 0x24]
push 0x100bb3c5
mov ecx, 0xc
call fcn.10003e1d
add esp, 0x30
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1002ebd1
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1002ebe1
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1002ebf1
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1002ec01
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1002ec14
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1002ec3a
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push eax
call fcn.10017f6c
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1002ec97
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002ecab
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x100c188c]
push 1
mov ebx, 0x10
mov eax, 0x100af580
call fcn.100a9580
add esp, 0x10
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1002ece6
mov eax, 0x100ba4a0
push eax
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x1002ed33
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1002ed44
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1002ed54
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002ed64
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc