Function at 0x10009c8d
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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
mov dword [ebp - 0x18], 0
jmp 0x10009cd2
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 - 0x1c], esp
push 0
xor eax, eax
call dword [0x100af529]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10009d3d
push 0x52
push 0x4026c2a
push 6
call fcn.1009851d
add esp, 0xc
cmp dword [0x100af2e9], 0
je 0x10009d5e
cmp dword [0x100af2ed], 0
jne 0x10009d5e
mov eax, 1
jmp 0x10009d63
mov eax, 0
test eax, eax
je 0x10009db1
push 0x80000301
push 0
push dword [0x100af2e9]
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10009b14
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10009da9
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x1000a53f
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x10009dfa
cmp dword [0x100af2f1], 0xffffffff
je 0x10009dfa
xor eax, eax
jmp 0x10009dff
mov eax, 1
test eax, eax
je 0x10009e4d
call fcn.1000a595
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10009e35
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10009e49
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
je 0x10009e96
cmp dword [0x100af2f1], 0xffffffff
je 0x10009e96
xor eax, eax
jmp 0x10009e9b
mov eax, 1
test eax, eax
je 0x10009ee9
call fcn.1000a664
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10009ed1
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10009ee5
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 4
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
je 0x10009f32
cmp dword [0x100af2f1], 0xffffffff
je 0x10009f32
xor eax, eax
jmp 0x10009f37
mov eax, 1
test eax, eax
je 0x10009f85
call fcn.1000a8e7
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10009f6d
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10009f81
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
je 0x10009fce
cmp dword [0x100af2f1], 0xffffffff
je 0x10009fce
xor eax, eax
jmp 0x10009fd3
mov eax, 1
test eax, eax
je 0x1000a021
call fcn.1000a9b9
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a009
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a01d
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 0x10
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10
je 0x1000a06a
cmp dword [0x100af2f1], 0xffffffff
je 0x1000a06a
xor eax, eax
jmp 0x1000a06f
mov eax, 1
test eax, eax
je 0x1000a0d7
call fcn.1000acd5
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a0bf
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a0d3
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
je 0x1000a120
cmp dword [0x100af2f1], 0xffffffff
je 0x1000a120
xor eax, eax
jmp 0x1000a125
mov eax, 1
test eax, eax
je 0x1000a173
call fcn.1000ad4c
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a15b
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a16f
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 0x40
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x40
je 0x1000a1bc
cmp dword [0x100af2f1], 0xffffffff
je 0x1000a1bc
xor eax, eax
jmp 0x1000a1c1
mov eax, 1
test eax, eax
je 0x1000a20f
call fcn.1000b486
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a1f7
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a20b
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x100af2f1]
push 0x80000301
push 0
push 0x80
push 2
mov ebx, 0xc4
call fcn.1009ae80
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80
je 0x1000a25b
cmp dword [0x100af2f1], 0xffffffff
je 0x1000a25b
xor eax, eax
jmp 0x1000a260
mov eax, 1
test eax, eax
je 0x1000a2b2
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.1000c66a
test eax, eax
je 0x1000a2b2
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a2ae
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [0x100af2f5]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a2df
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000a2f6
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x130
call fcn.10099fe0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000a385
mov dword [ebp - 0x1c], esp
push 0x1388
push 0
push 0x10
push 0x100a9879
push 0x100a9884
push 0
xor eax, eax
call dword [0x100af54d]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000a35d
push 0x8d8
push 0x4026c2a
push 6
call fcn.1009851d
add esp, 0xc
push 0
call fcn.1009853b
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x1000a385
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1000a367
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000a398
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000a3c2
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10009a7d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000a3e6
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000e566
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000a416
call fcn.1000e661
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.1000eb88
lea eax, [ebp - 0x18]
push eax
call fcn.10002407
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1000a447
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x19c
call fcn.10099a90
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000a473
push ebx
call fcn.10098517
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x1000a48b
and eax, 0xff
jmp 0x1000a4e0
cmp ecx, 0x80000201
jne 0x1000a496
cwde
jmp 0x1000a4e0
cmp ecx, 0x80000301
je 0x1000a4e0
cmp ecx, 0x80000401
je 0x1000a4e0
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000501
je 0x1000a4d0
cmp ecx, 0x80000601
je 0x1000a4d5
push 0xaa7
push 0x4026c2a
push 2
call fcn.1009851d
add esp, 0xc
fld dword [ebp - 0x30]
jmp 0x1000a4db
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
call fcn.100011a6
mov dword [0x100af2e9], eax
mov dword [0x100af2ed], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a50b
push eax
mov ebx, eax
call fcn.1000148b
inc eax
push eax
call fcn.10098511
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000a53f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a550
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000a560
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000a570
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000a580
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000a590
push ebx
call fcn.10098517
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret