Function at 0x10015610
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 0x100223ce
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1002e018]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x1002e018]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x1f
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.Vfira_nuINF_OY]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x34], dl
jns 0x1001567d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x10015660
mov byte [esp + 0x4b], bl
mov dword [esp + 0xb0], ebx
mov ecx, dword [0x10161524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x34]
push edx
call eax
mov esi, eax
call fcn.1000ac50
mov eax, dword [esi + eax]
mov dword [0x10160f84], eax
mov dword [esp + 0xb0], 0xffffffff
cmp eax, ebx
je 0x10015b7a
call fcn.1000ac50
push eax
call fcn.1000ab30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [0x101610b4]
call fcn.1000ac50
push eax
call fcn.1000abc0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [0x1015e998]
call fcn.1000ac50
push eax
call fcn.1000ab30
cdq
sub eax, edx
sar eax, 1
mov dword [0x10160e74], eax
call fcn.1000ac50
push eax
call fcn.1000abc0
cdq
sub eax, edx
sar eax, 1
mov dword [0x10160e78], eax
call fcn.10010380
cmp dword [0x1015fc10], ebx
jne 0x10015755
push ebx
push 0x1015fc10
push 0x10025a9c
push 0x800
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.DINPUT8.dll_DirectInput8Create]
jmp 0x1001575a
call fcn.10003200
mov esi, dword [0x10160f84]
cmp dword [0x10161a20], ebx
jne 0x100157a3
cmp dword [0x10161a28], ebx
jne 0x1001577e
cmp byte [0x1016162b], 1
jne 0x1001577e
call fcn.100100e0
fild dword [0x1002f458]
sub esp, 8
mov ecx, esi
fstp dword [esp + 4]
fild dword [0x1002f45c]
fstp dword [esp]
call fcn.1000d4a0
add esp, 8
call fcn.1000dbd0
call fcn.1000def0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR100.dll__time64]
lea edx, [esp + 0x18]
add esp, 4
push edx
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 0x101610d0
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
cmp dword [0x10161a38], ebx
jbe 0x10015866
mov edi, 0x1012ac27
lea esi, [esp + 0x34]
call fcn.1001b4b0
mov dword [esp + 0xb0], 1
mov ecx, dword [0x10161524]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x10]
push ecx
push 0x40
mov esi, eax
push 1
push esi
call edi
push 1
push 0x1002918c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push eax
push 1
push esi
call edi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [esp + 0xb0], 0xffffffff
mov dword [0x10161a38], ebx
cmp dword [0x101618b8], ebx
je 0x10015873
call fcn.10015470
mov eax, dword [0x10160e68]
cmp eax, ebx
jbe 0x1001589e
mov esi, dword [0x10161a3c]
cmp esi, ebx
jbe 0x1001589e
push 0x64
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x30
push ebx
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
call fcn.1000cf10
test al, al
je 0x100158fb
cmp byte [0x1015f342], 0
je 0x100158c4
cmp byte [0x10161562], 0
jne 0x100158cb
mov byte [0x10161562], 1
mov al, 1
jmp 0x100158cd
mov byte [0x10161562], 0
xor al, al
test al, 1
je 0x100158e2
xor ecx, ecx
cmp dword [0x101616f4], ebx
sete cl
mov dword [0x101616f4], ecx
call fcn.100118c0
call fcn.10012c80
call fcn.100130b0
call fcn.10013a80
jmp 0x10015a20
mov edi, 0x1a8b8867
cmp dword [0x101617f0], ebx
je 0x10015941
lea esi, [esp + 0x50]
call fcn.1001b360
mov dword [esp + 0xb0], 2
mov ecx, dword [0x10161524]
mov edx, dword [ecx]
push 0x10029190
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, 1
mov edi, eax
call fcn.10002db0
lea ecx, [esp + 0x50]
jmp 0x10015978
lea esi, [esp + 0x78]
call fcn.1001b360
mov dword [esp + 0xb0], 3
mov ecx, dword [0x10161524]
mov edx, dword [ecx]
push 0x10029194
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, 1
mov edi, eax
call fcn.10002db0
lea ecx, [esp + 0x78]
push 0x27
push ebx
push ecx
mov dword [esp + 0xbc], 0xffffffff
call sub.MSVCR100.dll_memset
mov eax, dword [0x101617dc]
add esp, 0xc
mov dword [0x1016172c], ebx
mov dword [0x10161670], ebx
mov dword [0x10161684], ebx
mov dword [0x101617c4], ebx
mov dword [0x101617c8], ebx
mov dword [0x10161744], ebx
mov dword [0x10161808], ebx
mov dword [0x101617e4], ebx
mov dword [0x101617f4], ebx
mov dword [0x10161724], ebx
cmp eax, ebx
je 0x10015a20
dec eax
cmp eax, 4
ja case.default.0x100159da
jmp dword [eax*4 + 0x10015ba0]
mov dword [0x101610a8], 0x3e8
jmp case.default.0x100159da
mov dword [0x101610a8], 0x7d0
jmp case.default.0x100159da
mov dword [0x101610a8], 0xbb8
jmp case.default.0x100159da
mov dword [0x101610a8], 0xfa0
jmp case.default.0x100159da
mov dword [0x101610a8], 0x1388
call fcn.10013470
cmp dword [0x101617e8], ebx
je 0x10015b7a
mov edi, 0xc
jmp 0x10015a35
xor ebx, ebx
mov ecx, 0x24
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x10029198]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x14], dl
jns 0x10015a5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015a40
mov byte [esp + 0x21], 0
mov dword [esp + 0xb0], 4
mov ecx, dword [0x10161524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x14]
push edx
call eax
mov ebx, dword [eax]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov ecx, 0x24
nop
mov dl, byte [eax + 0x100291a8]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x24], dl
jns 0x10015abd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015aa0
mov byte [esp + 0x31], 0
mov dword [esp + 0xb0], 5
mov ecx, dword [0x10161524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x24]
push edx
call eax
mov esi, dword [eax]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov ecx, 0x24
nop
mov dl, byte [eax + str.gMGIFLF]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x34], dl
jns 0x10015b1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015b00
mov byte [esp + 0x41], 0
mov dword [esp + 0xb0], 6
mov ecx, dword [0x10161524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
xor eax, eax
mov edx, edi
mov dword [esp + 0xb0], 0xffffffff
sub edx, esi
add edx, ecx
add edi, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
mov dword [edx + ebx], eax
cmp edi, 0x34
jl 0x10015a33
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1001f1f5
mov esp, ebp
pop ebp
ret