Function at 0x100303f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009db10
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100b9040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [esi + 0x1fd0], edi
mov eax, dword [edi + 8]
mov dword [esi + 0x1fd4], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1fe0], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x1fe4], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1fe8], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x1fd8], eax
mov ecx, dword [0x10131664]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10131668]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi], eax
test eax, eax
je 0x10030623
mov ecx, dword [0x101318f8]
add ecx, 0xffffffc7
xor ecx, 0x650ccae9
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [esi + 0x1f9c], eax
mov eax, dword [0x101316d4]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x1fa0], eax
mov ecx, dword [0x10131738]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013173c]
fstp dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
fdivr dword [ebp - 0x10]
mov ecx, dword [0x10131734]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
fstp dword [ebp - 0x14]
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x14]
fstp dword [ebp - 0x10]
maxss xmm0, dword [ebp - 0x10]
push 0
movss dword [esi + 0x1fb4], xmm0
mov ecx, dword [0x101316cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
lea ecx, [esi + 0x1fb8]
comiss xmm0, dword [0x100af0a0]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x100aefa0]
movss dword [ecx], xmm0
mov eax, dword [0x101316c0]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100af068]
cvttss2si ecx, xmm0
mov dword [esi + 0x1fbc], ecx
mov eax, dword [0x101316d4]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x1fc0], eax
add eax, ecx
test dword [esi + 0x1fd8], 0x79a
mov ecx, dword [esi]
mov dword [esi + 0x1fc4], eax
setne al
mov byte [esi + 0x1f6c], al
mov eax, dword [0x1013193c]
add eax, 0xffffffb6
xor eax, 0x650ccafa
mov eax, dword [eax + ecx]
mov dword [esi + 0x1f90], eax
test ecx, ecx
je 0x1003061f
mov eax, dword [0x101318ec]
add eax, 0xffffffca
xor eax, 0x650ccae6
cmp dword [eax + ecx], 0
jne 0x1003061f
push edi
mov byte [esi + 4], 1
call fcn.10031c20
mov edi, dword [0x101316d4]
cmp dword [edi + 0x174], 0
jle 0x100305f1
mov eax, dword [edi + 0x4cb0]
add eax, dword [edi + 0x4cac]
mov ecx, dword [0x1013167c]
push eax
push dword [edi + 0x4cb4]
mov edx, dword [ecx]
push 1
push dword [edi + 0x174]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x101318f8]
mov eax, dword [esi]
add ecx, 0xffffffc7
xor ecx, 0x650ccae9
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov byte [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4