Function at 0x10009630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10010880
push eax
mov dword fs:[0], esp
sub esp, 0x40
cmp dword [0x10018700], 3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push edi
jne 0x100096e1
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0
call fcn.1000eea0
mov byte [ebp - 4], 1
fld dword [0x1001644c]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0xc]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10018700], 2
jne 0x1000976e
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 2
call fcn.1000eea0
mov byte [ebp - 4], 3
fld dword [0x10016448]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0xc]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10018700], 1
jne 0x100097fb
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 4
call fcn.1000eea0
mov byte [ebp - 4], 5
fld dword [0x10016444]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0xc]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10018700], 0
jne 0x10009888
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 6
call fcn.1000eea0
mov byte [ebp - 4], 7
fld dword [0x10014210]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0xc]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10018928], 1
jne 0x10009901
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
call fcn.1000eea0
mov dword [ebp - 0x10], eax
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
mov dword [ebp - 4], 8
call fcn.1000ec20
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx + 0x20]
push eax
call edx
mov edi, eax
call fcn.10007830
imul eax, dword [0x10018838]
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
lea eax, [edi + eax + 0x30]
push eax
mov eax, dword [edx + 0x20]
push esi
call eax
mov ecx, eax
call fcn.10001b80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10017de0]
cmp eax, 3
jne 0x10009994
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0xa
call fcn.1000eea0
mov byte [ebp - 4], 0xb
fld dword [0x1001644c]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x10]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10017de0]
cmp eax, 2
jne 0x10009a22
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0xc
call fcn.1000eea0
mov byte [ebp - 4], 0xd
fld dword [0x10016448]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x10]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10017de0]
cmp eax, 1
jne 0x10009a95
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0xe
call fcn.1000eea0
mov byte [ebp - 4], 0xf
fld dword [0x10016444]
mov ecx, dword [0x10018bcc]
fstp dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x10]
call ebx
lea ecx, [ebp - 0x10]
jmp 0x10009b03
test eax, eax
jne 0x10009b17
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0x10
call fcn.1000eea0
mov byte [ebp - 4], 0x11
mov ecx, dword [0x10018bcc]
mov dword [ebp - 0x10], 0xb7a7c5ac
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x10]
call ebx
lea ecx, [ebp - 0x10]
push 0
push 4
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10016b48], 1
jne 0x10009bb6
cmp byte [0x10018be8], 1
jne 0x10009c55
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0x12
call fcn.1000eea0
mov byte [ebp - 4], 0x13
mov ecx, dword [0x10018bcc]
mov dword [ebp - 0x10], 0x454ce1c6
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x34]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
mov byte [0x10018be8], 0
cmp dword [0x10016b48], 0
jne 0x10009c55
cmp byte [0x10018be8], 0
jne 0x10009c55
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1001321c
sub ecx, 0x174e007d
lea eax, [ebp - 0x1e]
mov dword [ebp - 4], 0x14
call fcn.1000eea0
mov byte [ebp - 4], 0x15
mov ecx, dword [0x10018bcc]
mov dword [ebp - 0x10], 0xb7a7c5ac
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
imul eax, dword [0x10018838]
lea esi, [eax + esi + 0x34]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 4], 0xffffffff
mov byte [0x10018be8], 1
cmp dword [0x10017e90], 0
je 0x10009c7c
push 1
call fcn.10001f40
test ax, ax
je 0x10009c7c
mov edx, dword [0x1001892c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov byte [edx + 0x5c], 3
cmp dword [0x10018794], 0
je 0x10009cbf
push 0x79
call fcn.10001f40
test ax, ax
je 0x10009cbf
mov eax, dword [0x1001877c]
mov esi, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push 1
add esi, 0x3c
push esi
call edi
mov dl, byte [0x10013cfc]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov byte [esi], dl
call edi
cmp dword [0x100186f8], 0
je 0x10009d5c
cmp dword [0x1001892c], 0
jbe 0x10009d5c
mov esi, dword [0x100187cc]
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call esi
mov edx, dword [ebp - 0x10]
mov edi, dword [0x100187cc]
add edx, 4
mov dword [0x10016b44], edx
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
call esi
fld dword [0x1001420c]
mov edx, dword [ebp - 0x10]
fstp dword [ebp - 0x10]
mov esi, dword [0x10016b44]
mov dword [0x10017e08], edx
call ebx
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
fld dword [0x10014208]
mov edi, dword [0x10017e08]
fstp dword [ebp - 0x10]
call ebx
push 0
push 4
lea edx, [ebp - 0x10]
push edx
push edi
push eax
call esi
cmp dword [0x10017794], 0
je 0x10009e1f
cmp dword [0x1001892c], 0
jbe 0x10009e1f
mov edi, 0x57169e81
lea esi, [ebp - 0x32]
call fcn.1000ec20
mov esi, eax
mov ecx, 0x1ff45405
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x16
call fcn.1000ee40
mov byte [ebp - 4], 0x17
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x10018bcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x20]
push esi
call eax
lea esi, [edi + eax]
call fcn.10007830
mov ebx, dword [esi + eax*4]
add ebx, 8
cmp dword [0x10017794], 1
jne 0x10009def
mov eax, 0x10013d00
mov edx, ebx
sub edx, eax
jmp 0x10009de0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x10009de0
cmp dword [0x10017794], 2
jne 0x10009e1f
mov edi, 0x5cc2091a
lea esi, [ebp - 0x4b]
call fcn.1000f460
sub ebx, eax
jmp 0x10009e10
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
test cx, cx
jne 0x10009e10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret