Function at 0x10012070
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d20d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10050198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [esi + 0x24]
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push dword [esi + 0x20]
push 0xffffffffffffffff
sub esp, 8
mov ecx, esp
push eax
call fcn.10002f70
mov ecx, esi
call fcn.10011f90
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.10012400
test eax, eax
je 0x10012199
push edi
mov ecx, ebx
call fcn.10011d50
mov ecx, ebx
cvttss2si eax, dword [eax + 4]
push eax
push edi
call fcn.10011d50
cvttss2si eax, dword [eax]
push eax
push 0xffff0000
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10002f70
mov ecx, esi
call fcn.10011f90
push edi
mov ecx, ebx
call fcn.10011d50
push edi
mov ecx, ebx
mov esi, eax
call fcn.10011d50
sub esp, 8
lea ecx, [ebp - 0x28]
movss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.1000e540
push edi
mov ecx, ebx
call fcn.10011d50
push ecx
mov ecx, ebx
movss xmm0, dword [eax + 0x14]
movss dword [esp], xmm0
push edi
call fcn.10011d50
push ecx
lea ecx, [ebp - 0x20]
movss xmm0, dword [eax + 0x10]
movss dword [esp], xmm0
call fcn.1000e540
push 0xff00c8ff
push 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.10002e10
mov ecx, eax
call fcn.10011280
mov ecx, ebx
inc edi
call fcn.10012400
mov esi, dword [ebp - 0x10]
cmp edi, eax
jb 0x100120d8
mov edi, dword [ebp - 0x10]
xor esi, esi
add edi, 0x10
mov ecx, edi
call fcn.10012400
test eax, eax
je 0x100121f4
mov ebx, dword [ebp - 0x10]
nop
push esi
mov ecx, edi
call fcn.10011d50
mov ecx, edi
cvttss2si eax, dword [eax + 4]
push eax
push esi
call fcn.10011d50
cvttss2si eax, dword [eax]
push eax
push 0xff7cfc00
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10002f70
mov ecx, ebx
call fcn.10011f90
mov ecx, edi
inc esi
call fcn.10012400
cmp esi, eax
jb 0x100121b0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
mov eax, dword [esi + 0x1c]
movd xmm0, dword [esi + 0x2c]
cvtdq2ps xmm0, xmm0
shl eax, 0x18
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movd xmm0, dword [esi + 0x34]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x3f800000
movss dword [esp + 4], xmm0
movd xmm0, dword [esi + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10002e10
mov ecx, eax
call fcn.10010db0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp + 8]
movd xmm0, dword [esi + 0x28]
cvtdq2ps xmm0, xmm0
shl eax, 0x18
push eax
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 8], xmm0
movd xmm0, dword [esi + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [esi + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10002e10
mov ecx, eax
call fcn.10010db0
mov eax, dword [esi + 0x1c]
lea ecx, [ebp + 8]
movd xmm0, dword [esi + 0x2c]
cvtdq2ps xmm0, xmm0
shl eax, 0x18
or eax, 0x555555
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movd xmm0, dword [esi + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, dword [esi + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [esi + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10002e10
mov ecx, eax
call fcn.10010db0
mov ecx, ebx
call fcn.100111c0
mov ecx, edi
call fcn.100111c0
lea ecx, [ebp + 8]
call fcn.10002e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8