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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1009c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov ecx, dword [edi + 0x48]
cmp ecx, dword [edi + 0x4c]
je 0x1005f98e
imul eax, dword [edi + 0x24], 0x3110
add eax, ecx
lea ecx, [eax + 0x3104]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx]
mov dword [ebp - 0x78], ecx
mov dword [ecx + 4], eax
mov ecx, edi
call fcn.1005f180
mov eax, dword [ebp - 0x6c]
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [ebp - 0xc], esi
mov dword [eax + 0x1c], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x405360
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
mov byte [0x405360], 0xc3
push dword [ebp - 8]
push 1
push 0x405360
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 8], 0
cmp dword [ecx + 8], 0
jbe 0x1005f897
lea eax, [edi + 0x28]
mov dword [ebp - 0x80], 0x56b5d0
mov dword [ebp - 0x74], eax
mov edx, 0x40e6a0
mov al, byte [ecx + 0xc]
mov byte [esi + 0x1a], al
mov al, byte [ecx + 0xd]
mov ecx, dword [esi]
mov byte [esi + 0x1b], al
mov eax, 0x74e338
mov eax, dword [eax]
mov dword [ecx + 0xdc], eax
cmp dword [edi + 0x2c], 0
mov eax, dword [esi]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 0x110]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 0x30]
mov al, byte [esi + 0x1a]
mov byte [ebp - 0x3c], al
mov al, byte [esi + 0x1b]
movss dword [ebp - 0x4c], xmm0
mov byte [ebp - 0x3b], al
je 0x1005f59d
mov eax, dword [0x100a0520]
cmp byte [eax + 0x44], 0
je 0x1005f596
or dword [esi + 8], 0x2002
mov dword [ebp - 0x1c], 0x7d
push esi
call edx
mov eax, dword [esi]
add esp, 4
movss xmm1, dword [eax + 0x28]
movss xmm0, dword [eax + 0x2c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10005c10
comiss xmm0, dword [0x10093c7c]
mov eax, dword [edi + 0x2c]
jae 0x1005f5d0
test eax, eax
jne 0x1005f5e7
test eax, eax
lea ecx, [ebp - 0x60]
setne dl
call fcn.10006fc0
mov eax, dword [esi]
movss dword [eax + 0x10c], xmm0
mov ecx, dword [esi]
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 0xc]
add ecx, 0x108
push eax
mov edx, edi
call fcn.10066740
add esp, 8
cmp dword [edi + 0x2c], 0
jne 0x1005f620
mov eax, dword [esi]
mov dl, byte [esi + 0x1b]
mov cl, byte [esi + 0x1a]
movss xmm0, dword [eax + 0x10c]
call fcn.10060870
mov ecx, eax
jmp 0x1005f623
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov eax, 0x7d
cmove ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [ecx], eax
divss xmm0, dword [0x10093ccc]
movss dword [edi + 0x24], xmm0
mov edi, str.g_gravity
call dword [ebp - 0x80]
test eax, eax
je 0x1005f678
movss xmm0, dword [eax + 0xc]
ucomiss xmm0, dword [0x10093a14]
lahf
test ah, 0x44
jp 0x1005f678
mov eax, dword [esi]
mov dword [eax + 0x58], 0x320
mov edi, dword [ebp - 0x7c]
cmp dword [edi + 0x2c], 0
je 0x1005f6ba
mov eax, dword [esi]
movss xmm1, dword [eax + 0x28]
movss xmm0, dword [eax + 0x2c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10005c10
mov eax, dword [0x100a051c]
comiss xmm0, dword [eax + 0xc]
jb 0x1005f6b0
or dword [esi + 8], 0x400
push edi
push esi
call dword [0x1009fc88]
jmp 0x1005f6c2
push edi
push esi
call dword [0x1009cb8c]
add esp, 8
mov eax, 0x410660
push edi
push esi
call eax
push edi
push esi
call fcn.10004cf0
mov eax, dword [esi]
add esp, 0x10
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fistp dword [ebp - 0x68]
movd xmm0, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x28], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fistp dword [ebp - 0x68]
movd xmm0, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x2c], xmm0
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fistp dword [ebp - 0x68]
movd xmm0, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x74]
movss dword [eax + 0x30], xmm0
mov eax, dword [esi]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 0x110]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 0x30]
mov al, byte [esi + 0x1a]
mov byte [ebp - 0x3c], al
mov al, byte [esi + 0x1b]
mov byte [ebp - 0x3b], al
mov eax, 0x3e8
cdq
idiv dword [ecx]
movss dword [ebp - 0x4c], xmm0
movups xmm0, xmmword [esi + 0xcc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x78]
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x20], 0
movss xmm0, dword [esi + 0xdc]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 0xe0]
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [esi + 4]
mov word [ebp - 0x18], 0
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0x14]
mov dword [esi + 8], 0
movups xmmword [esi + 0x34], xmm0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x64], ecx
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
cmp eax, 0x3333333
jae 0x1005f866
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ecx + 8]
je 0x1005f857
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax + 0x40], xmm0
add dword [ecx + 4], 0x50
mov eax, dword [ebp - 0x6c]
jmp 0x1005f87c
lea edx, [ebp - 0x60]
push edx
push eax
call fcn.1005c0a0
mov eax, dword [ebp - 0x6c]
jmp 0x1005f87c
push str.exceeded_maximum_amount_of_frames__n
push 1
call fcn.1000ae90
mov eax, dword [ebp - 0x6c]
add esp, 8
mov byte [eax + 0x54], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x70]
inc edx
inc dword [eax + 0x1c]
mov dword [ebp - 8], edx
cmp edx, dword [ecx + 8]
mov edx, 0x40e6a0
jb 0x1005f4f2
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea edx, [ecx + 0x10]
test edx, edx
je 0x1005f8cf
test esi, esi
je 0x1005f8bf
mov ecx, 0x44
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1005f8df
push 0x110
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call edi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov dword [eax], 0x16
call esi
mov eax, dword [ebp - 0x70]
add eax, 0x120
jne 0x1005f8ed
call edi
jmp 0x1005f923
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1005f90b
mov ecx, 0x20
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1005f92b
push 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call edi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov dword [eax], 0x16
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x70]
add eax, 0x1a0
je 0x1005f95a
push 0x2f64
test ecx, ecx
je 0x1005f94f
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1005f964
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call edi
mov dword [eax], 0x16
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push 0x405360
call esi
push 0
mov byte [0x405360], 0x53
push dword [ebp - 0xc]
push 1
push 0x405360
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007e605
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4