Function at 0x10036420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a65e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100c2380]
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 [0x1013bc0c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013bc10]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi], eax
test eax, eax
je 0x10036653
mov ecx, dword [0x1013bea0]
add ecx, 0xffffffc6
xor ecx, 0x280eb30d
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [esi + 0x1f9c], eax
mov eax, dword [0x1013bc7c]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x1fa0], eax
mov ecx, dword [0x1013bce0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013bce4]
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 [0x1013bcdc]
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 [0x1013bc74]
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 [0x100b81cc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x100b80ec]
movss dword [ecx], xmm0
mov eax, dword [0x1013bc68]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100b819c]
cvttss2si ecx, xmm0
mov dword [esi + 0x1fbc], ecx
mov eax, dword [0x1013bc7c]
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 [0x1013bee4]
add eax, 0xffffffb5
xor eax, 0x280eb31e
mov eax, dword [eax + ecx]
mov dword [esi + 0x1f90], eax
test ecx, ecx
je 0x1003664f
mov eax, dword [0x1013be94]
add eax, 0xffffffc9
xor eax, 0x280eb30a
cmp dword [eax + ecx], 0
jne 0x1003664f
push edi
mov byte [esi + 4], 1
call fcn.10037d50
mov edi, dword [0x1013bc7c]
cmp dword [edi + 0x174], 0
jle 0x10036621
mov eax, dword [edi + 0x4cb0]
add eax, dword [edi + 0x4cac]
mov ecx, dword [0x1013bc24]
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 [0x1013bea0]
mov eax, dword [esi]
add ecx, 0xffffffc6
xor ecx, 0x280eb30d
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