Function at 0x1000967e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
pushal
mov eax, 1
cpuid
mov dword [ebp + 8], eax
popal
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 0x3c
push dword [0x10076a70]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x30]
call fcn.100036fb
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
mov eax, 0x1007458e
test eax, eax
je 0x1000974d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000975e
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 4]
push dword [0x10076a70]
call fcn.10001cda
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x30]
call fcn.100034fb
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10001cda
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 0x28
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
call fcn.100034fb
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 0x50
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call fcn.100034fb
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 0x16
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x30]
call fcn.100036fb
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10009933
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.10038db0
add esp, 0x1c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2000
jne 0x10009933
xor eax, eax
jmp 0x10009938
mov eax, 1
test eax, eax
je 0x1000994a
mov eax, 0
jmp 0x1000a760
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x140
call fcn.10038dd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1000997e
mov eax, 0x1007445f
push eax
push 1
mov ebx, 0x218
call fcn.10038df0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100099a4
push ebx
call fcn.100377ca
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x30]
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x5c
call fcn.10038e80
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.10001a79
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.10037e10
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a788
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10009a48
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
push 1
push 0xffffffff
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call fcn.1000b86d
cmp dword [ebp - 0x1c], 0x1000
jle 0x10009acd
cmp dword [0x10076a60], 0
jne 0x10009acd
push 8
call fcn.100377c4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x100742da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0x1000
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.10008938
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.100377ca
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x10009acd
mov eax, 1
jmp 0x10009acf
xor eax, eax
test eax, eax
je 0x1000a70f
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x31e
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x279
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
push 0x80000301
push 0
push dword [0x10076a70]
push 0x80000301
push 0
push dword [0x10076a6c]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [0x10076a6c], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x300
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
push 0x80000301
push 0
push 0x16
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10009bcf
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x10009c03
and eax, 0xff
jmp 0x10009c4e
cmp ecx, 0x80000201
jne 0x10009c0e
cwde
jmp 0x10009c4e
cmp ecx, 0x80000301
je 0x10009c4e
cmp ecx, 0x80000401
je 0x10009c4e
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x10009c3e
cmp ecx, 0x80000601
je 0x10009c43
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x10009c49
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.10001a79
mov dword [0x10076aa0], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x2de
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.10001cda
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10009ccc
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x10009d00
and eax, 0xff
jmp 0x10009d4b
cmp ecx, 0x80000201
jne 0x10009d0b
cwde
jmp 0x10009d4b
cmp ecx, 0x80000301
je 0x10009d4b
cmp ecx, 0x80000401
je 0x10009d4b
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x10009d3b
cmp ecx, 0x80000601
je 0x10009d40
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x44]
jmp 0x10009d46
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.10001a79
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [0x10076aa4], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x5f3
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10009dd3
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x10009e07
and eax, 0xff
jmp 0x10009e2d
cmp ecx, 0x80000201
jne 0x10009e12
cwde
jmp 0x10009e2d
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000301
je 0x10009e30
cmp ecx, 0x80000401
jne 0x10009e35
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
jmp 0x10009e57
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
jmp 0x10009e57
cmp ecx, 0x80000501
jne 0x10009e42
fld dword [ebp - 0x3c]
jmp 0x10009e57
cmp ecx, 0x80000601
je 0x10009e60
push 2
call fcn.100377d0
add esp, 4
fstp qword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x10009e7d
fchs
fcomp qword [0x1007459a]
fnstsw ax
test ah, 0x41
mov eax, 0
setne al
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x10009eaa
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x10009eba
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10009eba
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x10076aa8], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x54d
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [0x10076a70]
push dword [ebp - 0x14]
call fcn.10001cda
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x4f4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x27
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp byte [ebx], 0xdc
jne 0x10009f90
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x3c
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
cmp byte [ebx], 0x80
jne 0x10009f90
mov eax, 1
jmp 0x10009f92
xor eax, eax
test eax, eax
je 0x1000a165
push 0x80000301
push 0
push 0x2a
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10009fc5
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], esp
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x10009ffc
and eax, 0xff
jmp 0x1000a047
cmp ecx, 0x80000201
jne 0x1000a007
cwde
jmp 0x1000a047
cmp ecx, 0x80000301
je 0x1000a047
cmp ecx, 0x80000401
je 0x1000a047
mov dword [ebp - 0x40], eax
cmp ecx, 0x80000501
je 0x1000a037
cmp ecx, 0x80000601
je 0x1000a03c
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x40]
jmp 0x1000a042
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.10001a79
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x1000a06e
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x56
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000a09c
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], esp
push 2
push 0
push 0
push 0x10076aac
push 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1000a0ec
and eax, 0xff
jmp 0x1000a137
cmp ecx, 0x80000201
jne 0x1000a0f7
cwde
jmp 0x1000a137
cmp ecx, 0x80000301
je 0x1000a137
cmp ecx, 0x80000401
je 0x1000a137
mov dword [ebp - 0x40], eax
cmp ecx, 0x80000501
je 0x1000a127
cmp ecx, 0x80000601
je 0x1000a12c
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x40]
jmp 0x1000a132
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.10001a79
push eax
push dword [ebp - 0x24]
call dword [0x10076ca0]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x1000a157
push 6
call fcn.100377d0
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.1000b49b
jmp 0x1000a179
mov dword [0x10076aac], 0
mov dword [0x10076ab0], 0
push 0x80000301
push 0
push 0xe
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000a1a4
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push dword [0x10076a70]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1000a1ea
and eax, 0xff
jmp 0x1000a235
cmp ecx, 0x80000201
jne 0x1000a1f5
cwde
jmp 0x1000a235
cmp ecx, 0x80000301
je 0x1000a235
cmp ecx, 0x80000401
je 0x1000a235
mov dword [ebp - 0x40], eax
cmp ecx, 0x80000501
je 0x1000a225
cmp ecx, 0x80000601
je 0x1000a22a
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x40]
jmp 0x1000a230
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.10001a79
push eax
call fcn.10001cda
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
mov eax, 0
sete al
mov dword [0x10076ab4], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0x696
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], al
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000a2b0
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1000a2e4
and eax, 0xff
jmp 0x1000a32f
cmp ecx, 0x80000201
jne 0x1000a2ef
cwde
jmp 0x1000a32f
cmp ecx, 0x80000301
je 0x1000a32f
cmp ecx, 0x80000401
je 0x1000a32f
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x1000a31f
cmp ecx, 0x80000601
je 0x1000a324
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x1000a32a
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.10001a79
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [0x10076ab8], eax
cmp dword [0x10076aac], 0
jle 0x1000a4e7
push 0x80000301
push 0
push 0x46
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000a390
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1000a3c4
and eax, 0xff
jmp 0x1000a40f
cmp ecx, 0x80000201
jne 0x1000a3cf
cwde
jmp 0x1000a40f
cmp ecx, 0x80000301
je 0x1000a40f
cmp ecx, 0x80000401
je 0x1000a40f
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x1000a3ff
cmp ecx, 0x80000601
je 0x1000a404
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x1000a40a
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.10001a79
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 0x28]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x28
jg 0x1000a483
mov ebx, dword [0x10076abc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x34], eax
push 1
push 0
push 1
push 0
push dword [ebp - 0x34]
push 1
push 0
call fcn.1000bb2c
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
pop ebx
pop ecx
jmp 0x1000a419
add esp, 8
mov ebx, dword [0x10076abc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.10001cda
mov dword [ebp - 0x34], eax
push 1
push 0
push 1
push 1
push dword [ebp - 0x34]
push 1
push 0
call fcn.1000bb2c
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [0x10076ab0], 1
push dword [ebp + 0xc]
push dword [0x10076a70]
call fcn.1000bc0c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x10076a6c]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [0x10076a6c], eax
cmp dword [0x10076aa8], 0
je 0x1000a618
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x140
call fcn.10038dd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1000a562
mov eax, 0x1007445f
push eax
push 1
mov ebx, 0x218
call fcn.10038df0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000a588
push ebx
call fcn.100377ca
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x30]
push 0x80000301
push 0
push 0x28bee38
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10037e10
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000a5ef
push 6
call fcn.100377d0
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000a602
push ebx
call fcn.100377ca
add esp, 4
mov eax, dword [ebp - 0x40]
cmp dword [0x10076aa0], eax
jne 0x1000a618
mov eax, 1
jmp 0x1000a61a
xor eax, eax
mov dword [0x10076aa8], eax
push 0x80000301
push 0
push 0x7f0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000a64a
mov eax, 0x100742da
push eax
push 3
mov ebx, 0x19c
call fcn.10038b10
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1000a67e
and eax, 0xff
jmp 0x1000a6c9
cmp ecx, 0x80000201
jne 0x1000a689
cwde
jmp 0x1000a6c9
cmp ecx, 0x80000301
je 0x1000a6c9
cmp ecx, 0x80000401
je 0x1000a6c9
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x1000a6b9
cmp ecx, 0x80000601
je 0x1000a6be
push 2
call fcn.100377d0
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x1000a6c4
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.10001a79
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xc0
call fcn.10038ea0
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x10076aa0]
push 2
mov ebx, 0xcc
call fcn.10037d40
add esp, 0x1c
mov dword [0x10076ac0], eax
push dword [ebp - 0x1c]
push 0xffffffff
call fcn.1000be0b
mov eax, 0x100742da
test eax, eax
je 0x1000a738
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100377c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a749
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000b49b
mov eax, 1
jmp 0x1000a760
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000a771
push ebx
call fcn.100377ca
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a781
push ebx
call fcn.100377ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8