Function at 0x10005810
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
sub esp, 0xac
mov eax, dword [0x1010607c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, 0x4bbf70
call eax
mov eax, dword [0x10128174]
xor edi, edi
fstp st(0)
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov eax, dword [edx + 8]
test eax, eax
jle 0x10005c13
mov ecx, dword [edx + 4]
cmp byte [ecx + edi], 0
jge 0x10005873
inc edi
cmp edi, eax
jl 0x10005851
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100ab558
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
je 0x10005c13
mov esi, 0x4bc120
imul ebx, edi, 0x6d8
add ebx, dword [edx]
call esi
movss xmm3, dword [ebx + 0x34]
mov esi, 0x5778b0
push 0
movss dword [esp + 0x18], xmm3
movss xmm0, dword [eax + 0x34]
movss xmm1, dword [eax + 0x38]
movss xmm2, dword [eax + 0x3c]
lea eax, [esp + 0x70]
movss xmm3, dword [ebx + 0x38]
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x18], xmm3
movss xmm3, dword [ebx + 0x3c]
push eax
lea eax, [esp + 0xb4]
movss dword [esp + 0x18], xmm3
push eax
lea eax, [esp + 0x94]
movss dword [esp + 0x94], xmm0
push eax
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
call esi
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x88]
add esp, 0x14
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0xc]
push 0
push eax
lea eax, [esp + 0x80]
movss dword [esp + 0xa0], xmm0
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa0]
push eax
call esi
add esp, 0x14
mov ecx, 0xa0fd08
call fcn.1005f250
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x7c]
push eax
call fcn.100108c0
mov dword [esp + 0x20], 4
mov esi, dword [eax]
lea eax, [esp + 0x24]
push eax
push 0x40
push 4
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [esp + 0x28]
mov esi, dword [esi]
test eax, eax
je 0x100059b3
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
push eax
push dword [esp + 0x28]
mov dword [esp + 0x18], eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movd xmm0, esi
mov ecx, 0xa0fd04
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x100fda90]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.1005f250
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x80]
push eax
call fcn.100108c0
mov dword [esp + 0x30], 4
mov esi, dword [eax]
lea eax, [esp + 0x34]
push eax
push 0x40
push 4
push esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [esp + 0x38]
mov esi, dword [esi]
test eax, eax
je 0x10005a35
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push eax
push dword [esp + 0x38]
mov dword [esp + 0x18], eax
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x9c]
cvtsi2ss xmm0, esi
movss xmm1, dword [esp + 0xa4]
xorps xmm3, xmm3
cvtps2pd xmm0, xmm0
subss xmm1, xmm3
divsd xmm0, qword [0x100fda68]
mulss xmm1, xmm1
cvtpd2ps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x10]
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10003980
movss xmm1, dword [0x100fdb64]
mov esi, 0x4bc120
comiss xmm1, xmm0
jb 0x10005bd9
call esi
movss xmm0, dword [ebx + 0x34]
ucomiss xmm0, dword [eax + 0x34]
lahf
test ah, 0x44
jnp 0x10005bd9
cmp dword [ebx + 0x244], 0x37
je 0x10005bd9
call esi
test eax, eax
je 0x10005bd9
call esi
movss xmm0, dword [ebx + 0x34]
mov esi, eax
movss xmm1, dword [ebx + 0x38]
sub esp, 0xc
movss xmm2, dword [ebx + 0x3c]
mov eax, esp
mov ecx, dword [esi]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
mov edx, dword [ecx + 0x2c]
mov ecx, esi
movss dword [eax + 8], xmm2
call edx
mov esi, 0x4bc120
mov dword [esp + 0x3c], 0xbe9eb852
mov dword [esp + 0x40], 0xc08ccccd
mov dword [esp + 0x44], 0
call esi
lea ecx, [esp + 0x3c]
add eax, 4
push ecx
push eax
lea eax, [esp + 0x50]
mov ebx, 0x4dff20
push eax
call ebx
add esp, 0xc
call esi
movss xmm0, dword [esp + 0x48]
sub esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov ecx, esp
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [ecx + 8], xmm0
mov ecx, eax
call edx
call esi
cmp byte [eax + 0x60c], 0
jne 0x10005bd9
cmp byte [0x10109fc0], 1
jne 0x10005bd9
mov dword [esp + 0x54], 0x3e9eb852
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call esi
lea ecx, [esp + 0x54]
add eax, 4
push ecx
push eax
lea eax, [esp + 0x68]
push eax
call ebx
add esp, 0xc
call esi
movss xmm0, dword [esp + 0x60]
sub esp, 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov ecx, esp
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [ecx + 8], xmm0
mov ecx, eax
call edx
mov edx, dword [esp + 0x18]
inc edi
mov eax, dword [edx + 8]
cmp edi, eax
jge 0x10005c13
mov ecx, dword [edx + 4]
cmp byte [edi + ecx], 0
jge 0x10005c0a
inc edi
cmp edi, eax
jl 0x10005be8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100ab558
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
jne 0x10005881
mov ecx, dword [esp + 0xb4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ab558
mov esp, ebp
pop ebp
ret