Function at 0x10015a10
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 0x10022e8e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1002f018]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x1002f018]
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 0x10015a7d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x10015a60
mov byte [esp + 0x4b], bl
mov dword [esp + 0xb0], ebx
mov ecx, dword [0x10162524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x34]
push edx
call eax
mov esi, eax
call fcn.1000ad10
mov eax, dword [esi + eax]
mov dword [0x10161f84], eax
mov dword [esp + 0xb0], 0xffffffff
cmp eax, ebx
je 0x10015f7a
call fcn.1000ad10
push eax
call fcn.1000abf0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [0x101620b4]
call fcn.1000ad10
push eax
call fcn.1000ac80
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [0x1015f998]
call fcn.1000ad10
push eax
call fcn.1000abf0
cdq
sub eax, edx
sar eax, 1
mov dword [0x10161e74], eax
call fcn.1000ad10
push eax
call fcn.1000ac80
cdq
sub eax, edx
sar eax, 1
mov dword [0x10161e78], eax
call fcn.10010460
cmp dword [0x10160c10], ebx
jne 0x10015b55
push ebx
push 0x10160c10
push 0x10026aa4
push 0x800
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.DINPUT8.dll_DirectInput8Create]
jmp 0x10015b5a
call fcn.100032b0
mov esi, dword [0x10161f84]
cmp dword [0x10162a20], ebx
jne 0x10015ba3
cmp dword [0x10162a28], ebx
jne 0x10015b7e
cmp byte [0x1016262b], 1
jne 0x10015b7e
call fcn.100101c0
fild dword [0x10030458]
sub esp, 8
mov ecx, esi
fstp dword [esp + 4]
fild dword [0x1003045c]
fstp dword [esp]
call fcn.1000d560
add esp, 8
call fcn.1000dc80
call fcn.1000dfd0
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 0x101620d0
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
cmp dword [0x10162a38], ebx
jbe 0x10015c66
mov edi, 0x1012bbcf
lea esi, [esp + 0x34]
call fcn.1001beb0
mov dword [esp + 0xb0], 1
mov ecx, dword [0x10162524]
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 0x1002a32c
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 [0x10162a38], ebx
cmp dword [0x101628b8], ebx
je 0x10015c73
call fcn.100156d0
mov eax, dword [0x10161e68]
cmp eax, ebx
jbe 0x10015c9e
mov esi, dword [0x10162a3c]
cmp esi, ebx
jbe 0x10015c9e
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.1000cfd0
test al, al
je 0x10015cfb
cmp byte [0x10160342], 0
je 0x10015cc4
cmp byte [0x10162562], 0
jne 0x10015ccb
mov byte [0x10162562], 1
mov al, 1
jmp 0x10015ccd
mov byte [0x10162562], 0
xor al, al
test al, 1
je 0x10015ce2
xor ecx, ecx
cmp dword [0x101626f4], ebx
sete cl
mov dword [0x101626f4], ecx
call fcn.10011c80
call fcn.10013070
call fcn.100133e0
call fcn.10013ca0
jmp 0x10015e20
mov edi, 0x1a8b983f
cmp dword [0x101627f0], ebx
je 0x10015d41
lea esi, [esp + 0x50]
call fcn.1001bce0
mov dword [esp + 0xb0], 2
mov ecx, dword [0x10162524]
mov edx, dword [ecx]
push 0x1002a330
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, 1
mov edi, eax
call fcn.10002dc0
lea ecx, [esp + 0x50]
jmp 0x10015d78
lea esi, [esp + 0x78]
call fcn.1001bce0
mov dword [esp + 0xb0], 3
mov ecx, dword [0x10162524]
mov edx, dword [ecx]
push 0x1002a334
push eax
mov eax, dword [edx + 0x28]
call eax
mov esi, 1
mov edi, eax
call fcn.10002dc0
lea ecx, [esp + 0x78]
push 0x27
push ebx
push ecx
mov dword [esp + 0xbc], 0xffffffff
call sub.MSVCR100.dll_memset
mov eax, dword [0x101627dc]
add esp, 0xc
mov dword [0x1016272c], ebx
mov dword [0x10162670], ebx
mov dword [0x10162684], ebx
mov dword [0x101627c4], ebx
mov dword [0x101627c8], ebx
mov dword [0x10162744], ebx
mov dword [0x10162808], ebx
mov dword [0x101627e4], ebx
mov dword [0x101627f4], ebx
mov dword [0x10162724], ebx
cmp eax, ebx
je 0x10015e20
dec eax
cmp eax, 4
ja case.default.0x10015dda
jmp dword [eax*4 + 0x10015fa0]
mov dword [0x101620a8], 0x3e8
jmp case.default.0x10015dda
mov dword [0x101620a8], 0x7d0
jmp case.default.0x10015dda
mov dword [0x101620a8], 0xbb8
jmp case.default.0x10015dda
mov dword [0x101620a8], 0xfa0
jmp case.default.0x10015dda
mov dword [0x101620a8], 0x1388
call fcn.100137b0
cmp dword [0x101627e8], ebx
je 0x10015f7a
mov edi, 0xc
jmp 0x10015e35
xor ebx, ebx
mov ecx, 0x24
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x1002a338]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x14], dl
jns 0x10015e5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015e40
mov byte [esp + 0x21], 0
mov dword [esp + 0xb0], 4
mov ecx, dword [0x10162524]
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 + 0x1002a348]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x24], dl
jns 0x10015ebd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015ea0
mov byte [esp + 0x31], 0
mov dword [esp + 0xb0], 5
mov ecx, dword [0x10162524]
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 0x10015f1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10015f00
mov byte [esp + 0x41], 0
mov dword [esp + 0xb0], 6
mov ecx, dword [0x10162524]
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 0x10015e33
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.1001fc65
mov esp, ebp
pop ebp
ret