Function at 0x10031bf0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae67d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 8]
mov dword [esi + 0x3b4], edx
mov eax, dword [edx + 8]
mov dword [esi + 0x3b8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x3c4], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x3c8], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x3cc], eax
mov eax, dword [edx + 0x30]
mov dword [esi + 0x3bc], eax
mov ecx, dword [0x100f65a8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100f65ac]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi], eax
test eax, eax
je 0x10031ec5
mov ecx, dword [0x100f67c8]
add ecx, 0xffffffcb
xor ecx, 0x981170fd
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [esi + 0x380], eax
mov eax, dword [0x100f6618]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x384], eax
mov ecx, dword [0x100f6668]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x100f666c]
fstp dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
fdivr dword [ebp - 0x18]
mov ecx, dword [0x100f6664]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0x1c]
call dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
fstp dword [ebp - 0x18]
maxss xmm0, dword [ebp - 0x18]
push 0
movss dword [esi + 0x398], xmm0
mov ecx, dword [0x100f6610]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
lea ecx, [esi + 0x39c]
comiss xmm0, dword [0x100c12a8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x100c11bc]
movss dword [ecx], xmm0
mov eax, dword [0x100f6604]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100c12f4]
cvttss2si ecx, xmm0
mov dword [esi + 0x3a0], ecx
mov eax, dword [0x100f6618]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x3a4], eax
add eax, ecx
mov ecx, dword [esi]
mov dword [esi + 0x3a8], eax
test ecx, ecx
je 0x10031ec1
mov eax, dword [0x100f67c4]
add eax, 0xffffffcc
xor eax, 0x981170fc
cmp dword [eax + ecx], 0
jne 0x10031ec1
mov byte [esi + 4], 1
mov edi, dword [0x100f6618]
cmp dword [edi + 0x174], 0
setg byte [ebp - 0x18]
cmp dword [0x100cc434], 4
jne 0x10031de0
mov edx, dword [edi + 0x4cb0]
add edx, dword [edi + 0x4cac]
mov ecx, dword [0x100f65c0]
push edx
push dword [edi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x18]
push dword [edi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100fc9e4], 0
jne 0x10031ea4
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.10027810
mov dword [ebp - 4], 0
mov eax, dword [0x100f6578]
test eax, eax
je 0x10031e2d
mov edx, dword [eax + 0x50]
jmp 0x10031e2f
xor edx, edx
mov eax, dword [0x100f6570]
test eax, eax
je 0x10031e3d
mov eax, dword [eax + 0x18]
jmp 0x10031e3f
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.100307f0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
add esp, 8
inc edi
call fcn.10026d10
mov eax, dword [ebp - 0x3c]
push 8
push eax
mov dword [ebp - 0x3c], 0
call fcn.100ac3a0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x14], 0
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov esi, dword [ebp - 0x20]
mov byte [0x100fc9e4], 1
mov ecx, dword [0x100f67c8]
mov eax, dword [esi]
add ecx, 0xffffffcb
xor ecx, 0x981170fd
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov byte [esi + 0x19], 0
jmp 0x10031ec5
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4