Function at 0x10011290
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10019f0c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10023018]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x10023018]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x1011f258], ebx
jne 0x10011347
mov edi, 0x1018e095
lea esi, [esp + 0x94]
call fcn.10015fb0
mov dword [esp + 0xf0], ebx
mov ecx, dword [0x1011f940]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, eax
call fcn.10002b10
mov dword [0x1011f258], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov word [esp + 0xac], ax
mov byte [esp + 0xae], al
mov ecx, 0x6c
xor eax, eax
mov edi, edi
mov dl, byte [eax + 0x1001da08]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x54], dl
jns 0x1001136d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x14
jl 0x10011350
mov byte [esp + 0x68], 0
mov dword [esp + 0xf0], 1
mov ecx, 0x1f
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + str.Vfira_nuINF_OY]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x6c], dl
jns 0x100113ad
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x10011390
mov byte [esp + 0x83], 0
mov byte [esp + 0xf0], 2
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x54]
push edx
call eax
mov esi, eax
push 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1001143b
lea ecx, [esp + 0x20]
push ecx
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea edx, [esp + 0x1c]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [0x1011f940]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
push eax
call edx
mov esi, eax
add esi, dword [esp + 0x10]
xor eax, eax
push 4
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x100114af
lea eax, [esp + 0x18]
push eax
push 0x40
push 4
push esi
call ebx
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push 4
push esi
call ebx
push eax
call edi
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [0x1011f39c], eax
mov dword [esp + 0xf0], 0xffffffff
cmp eax, edi
je 0x10011cff
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp dword [0x1011f4d4]
call fcn.100086e0
push eax
call fcn.10008650
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp dword [0x1011c570]
call fcn.100086e0
push eax
call fcn.100085c0
mov dword [0x1011f4bc], eax
call fcn.100086e0
push eax
call fcn.10008650
mov dword [0x1011f4c0], eax
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
mov dword [0x1011f374], eax
call fcn.100086e0
push eax
call fcn.10008650
cdq
sub eax, edx
sar eax, 1
mov dword [0x1011f378], eax
call fcn.1000b910
cmp dword [0x1011d84c], edi
jne 0x10011580
push edi
push 0x1011d84c
push 0x1001b7bc
push 0x800
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.DINPUT8.dll_DirectInput8Create]
jmp 0x10011585
call fcn.10002f90
mov esi, dword [0x1011f39c]
cmp dword [0x1011fd7c], edi
jne 0x100115c4
cmp dword [0x1011fe84], edi
jne 0x100115a0
call fcn.1000ab90
fild dword [0x100242cc]
push esi
sub esp, 8
fstp dword [esp + 4]
fild dword [0x100242d0]
fstp dword [esp]
call fcn.1000a570
add esp, 0xc
call fcn.1000a890
call fcn.100110f0
call fcn.1000ab20
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.MSVCR100.dll__time64]
lea eax, [esp + 0x28]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__localtime64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push edx
push eax
push str._02i:_02i:_02i
push 0x1011f508
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
cmp dword [0x1011fd10], edi
je 0x1001197c
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
lea edx, [esp + 0x94]
push edx
push eax
mov eax, dword [ecx + 0xc0]
call eax
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
shr esi, 1
shr edi, 1
cmp dword [0x1011fd10], 1
jne 0x100117ec
fldz
push 0
lea ecx, [esi - 6]
mov dword [esp + 0x38], ecx
lea ecx, [edi + 6]
push ecx
fstp dword [esp]
push 0xff00ff00
lea eax, [edi - 6]
mov dword [esp + 0x54], eax
push 1
lea eax, [esi + 1]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x44]
lea edx, [esi + 6]
mov dword [esp + 0x5c], eax
mov eax, dword [0x1011f39c]
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [eax]
mov edx, dword [edx + 0xac]
push 1
lea ebx, [edi + 1]
push eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
call edx
fldz
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0xff00ff00
push 1
lea edx, [esp + 0x54]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
fldz
push 0
lea ecx, [esi - 4]
mov dword [esp + 0x28], ecx
lea ecx, [edi + 4]
push ecx
fstp dword [esp]
push 0xffffff00
lea eax, [edi - 4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], ecx
push 1
lea eax, [esi + 1]
mov dword [esp + 0xe8], eax
mov eax, dword [0x1011f39c]
lea ecx, [esp + 0x34]
lea edx, [esi + 4]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0xe4], esi
mov edx, dword [eax]
mov edx, dword [edx + 0xac]
push 1
push eax
call edx
fldz
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0xffffff00
push 1
lea edx, [esp + 0xe0]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
fldz
lea eax, [esi + 1]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc8], eax
mov eax, dword [0x1011f39c]
push 0
lea ecx, [esi - 1]
lea edx, [edi - 1]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xd0], ebx
mov ecx, dword [eax]
push ecx
fstp dword [esp]
push 0xffff0000
push 1
lea edx, [esp + 0xc0]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
fldz
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0xffff0000
push 1
lea edx, [esp + 0xd0]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [0x1011fd10], 2
jne 0x10011873
fldz
lea eax, [esi - 2]
lea ecx, [edi - 2]
push 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], eax
mov eax, dword [0x1011f39c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax]
push ecx
fstp dword [esp]
push 0xffff0000
push 1
lea edx, [esp + 0x7c]
push edx
push 1
add esi, 2
add edi, 2
push eax
mov eax, dword [ecx + 0xac]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
call eax
fldz
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0xffff0000
push 1
lea edx, [esp + 0x64]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
cmp dword [0x1011fd10], 3
jne 0x1001197a
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
mov dword [esp + 0x54], eax
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
mov dword [esp + 0x5c], eax
call fcn.100086e0
push eax
call fcn.10008650
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x58], eax
call fcn.100086e0
push eax
call fcn.10008650
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x60], eax
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], eax
call fcn.100086e0
push eax
call fcn.100085c0
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x74], eax
call fcn.100086e0
push eax
call fcn.10008650
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
mov dword [esp + 0x70], eax
call fcn.100086e0
push eax
call fcn.10008650
fldz
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
mov dword [esp + 0x78], eax
mov eax, dword [0x1011f39c]
mov ecx, dword [eax]
push 0
push ecx
lea edx, [esp + 0x5c]
fstp dword [esp]
push 0xff00ff00
push 1
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
mov eax, dword [0x1011f39c]
fldz
mov ecx, dword [eax]
push 0
push ecx
fstp dword [esp]
push 0xff00ff00
push 1
lea edx, [esp + 0x7c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xac]
call eax
xor edi, edi
call fcn.1000f6f0
call fcn.1000a180
test al, al
je 0x10011ad3
cmp byte [0x1011cdf2], 0
je 0x100119ab
cmp byte [0x1011f982], 0
jne 0x100119b2
mov byte [0x1011f982], 1
mov al, 1
jmp 0x100119b4
mov byte [0x1011f982], 0
xor al, al
test al, 1
je 0x100119c9
xor ecx, ecx
cmp dword [0x1011fb08], edi
sete cl
mov dword [0x1011fb08], ecx
cmp byte [0x1011cde7], 0
je 0x100119e6
cmp byte [0x1011f977], 0
jne 0x100119ed
mov byte [0x1011f977], 1
mov al, 1
jmp 0x100119ef
mov byte [0x1011f977], 0
xor al, al
test al, 1
je 0x10011a04
xor edx, edx
cmp dword [0x1011fb4c], edi
sete dl
mov dword [0x1011fb4c], edx
cmp byte [0x1011cdca], 0
je 0x10011a21
cmp byte [0x1011f95a], 0
jne 0x10011a28
mov byte [0x1011f95a], 1
mov al, 1
jmp 0x10011a2a
mov byte [0x1011f95a], 0
xor al, al
test al, 1
je 0x10011a3e
xor eax, eax
cmp dword [0x1011fb94], edi
sete al
mov dword [0x1011fb94], eax
call fcn.1000c7b0
call fcn.1000dbc0
call fcn.1000e1f0
call fcn.1000f580
call fcn.1000ea30
call fcn.1000ebc0
call fcn.1000f970
cmp byte [0x1011cddd], 0
je 0x10011a7e
cmp byte [0x1011f96d], 0
jne 0x10011a85
mov byte [0x1011f96d], 1
mov al, 1
jmp 0x10011a87
mov byte [0x1011f96d], 0
xor al, al
fld1
test al, 1
je 0x10011a9b
fld dword [0x10024250]
fadd st(1)
fstp dword [0x10024250]
cmp byte [0x1011cdde], 0
je 0x10011ab8
cmp byte [0x1011f96e], 0
jne 0x10011abf
mov byte [0x1011f96e], 1
mov al, 1
jmp 0x10011ac1
mov byte [0x1011f96e], 0
xor al, al
test al, 1
je 0x10011b1d
fsubr dword [0x10024250]
fstp dword [0x10024250]
jmp 0x10011b1f
mov dword [0x1011fb5c], edi
mov dword [0x1011fa80], edi
mov dword [0x1011fba0], edi
mov dword [0x1011fa94], edi
mov dword [0x1011fbf8], edi
mov dword [0x1011fbfc], edi
mov dword [0x1011fb74], edi
mov dword [0x1011fc44], edi
mov dword [0x1011fc20], edi
mov dword [0x1011fc30], edi
mov dword [0x1011fb54], edi
mov dword [0x1011fab0], edi
jmp 0x10011b1f
fstp st(0)
cmp dword [0x1011fc2c], edi
mov esi, dword [0x1011ee54]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
je 0x10011b57
lea ecx, [esp + 0x24]
push ecx
push 0x40
push 3
push esi
call edi
push 3
push 0x1001e484
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
jmp 0x10011b79
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push 3
push esi
call edi
push 3
push 0x1001e488
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
add esp, 0xc
push edx
push eax
push 3
push esi
call edi
push 3
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp dword [0x1011fc24], 0
je 0x10011cff
mov edi, 0xc
mov ecx, 0x24
xor eax, eax
jmp 0x10011bb0
mov dl, byte [eax + 0x1001e48c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x44], dl
jns 0x10011bcd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10011bb0
mov byte [esp + 0x51], 0
mov dword [esp + 0xf0], 3
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x44]
push edx
call eax
mov ebx, dword [eax]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], ax
mov ecx, 0x24
nop
mov dl, byte [eax + 0x1001e49c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x34], dl
jns 0x10011c2d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10011c10
mov byte [esp + 0x41], 0
mov dword [esp + 0xf0], 4
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x34]
push edx
call eax
mov esi, dword [eax]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
mov ecx, 0x24
nop
mov dl, byte [eax + str.gMGIFLF]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x84], dl
jns 0x10011c90
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10011c70
mov byte [esp + 0x91], 0
mov dword [esp + 0xf0], 5
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x84]
push edx
call eax
mov ecx, dword [eax]
xor eax, eax
mov edx, edi
mov dword [esp + 0xf0], 0xffffffff
sub edx, esi
add edx, ecx
add edi, 4
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov word [esp + 0x90], ax
mov dword [edx + ebx], eax
cmp edi, 0x34
jl 0x10011ba1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10017c55
mov esp, ebp
pop ebp
ret