Function at 0x737ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor edx, edx
push ebp
push 0x738204
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d0fc
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x15b4], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x15b8], eax
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x2a], 0
xor edx, edx
push ebp
push 0x7381f3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x63d47c]
call fcn.006459ec
mov dword [ebp - 0x10], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.00646794
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5ea8e0]
call fcn.005ec758
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x30], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00603674
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 0xfa0
jg 0x737fc8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
cmp eax, 0xfa0
jle 0x737ffd
push 0xfa0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, 0xfa0
pop edx
call fcn.0087f258
push 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005ef10c
or edx, 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.005f30c8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 0xc8
jle 0x738146
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
cmp eax, 0xc8
jle 0x738146
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x24], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 8]
push eax
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x3a]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
pop edx
call fcn.00432610
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fld xword [0x738220]
fmulp st(1)
call fcn.00402f7c
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0060b5b0
mov eax, dword [ebp - 0x3a]
cmp eax, dword [ebp - 0x32]
jl 0x7380ac
mov edx, dword [ebp - 0x2e]
cmp edx, dword [ebp - 0x36]
jle 0x738146
test eax, eax
jl 0x738146
cmp dword [ebp - 0x36], 0
jl 0x738146
test edi, edi
jle 0x738146
cmp dword [ebp - 0x24], 0
jle 0x738146
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
sar ebx, 1
jns 0x7380dd
adc ebx, 0
add ebx, dword [ebp - 0x3a]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
sar eax, 1
jns 0x7380ef
adc eax, 0
add eax, dword [ebp - 0x36]
mov dword [ebp - 0x28], eax
imul ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ebx
fild dword [ebp - 0x48]
mov dword [ebp - 0x4c], edi
fild dword [ebp - 0x4c]
fdivp st(1)
call fcn.00402f7c
mov ebx, eax
mov eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fild dword [ebp - 0x24]
fdivp st(1)
call fcn.00402f7c
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.0041d0fc
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x15b4], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x15b8], eax
cmp byte [ebp - 0x2a], 0
jne 0x7381d5
push 0x3fb99999
push 0x9999999a
push 1
mov ecx, 0x14
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00600708
fstp qword [ebp - 8]
wait
fld qword [ebp - 8]
fcomp dword [0x73822c]
fnstsw ax
sahf
jne 0x7381b7
cmp byte [ebp - 0x29], 0
jne 0x7381b7
push 0x40668000
push 0
push 0xffffffffffffffff
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.005f3704
push 0x3fb99999
push 0x9999999a
push 1
mov ecx, 0x14
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00600708
fstp qword [ebp - 8]
wait
cmp byte [ebp - 0x29], 0
je 0x7381d5
fld qword [ebp - 8]
fabs
fcomp dword [0x738230]
fnstsw ax
sahf
jbe 0x7381d5
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7381fa
lea eax, [ebp - 0xc]
call fcn.00411378
lea eax, [ebp - 0x10]
call fcn.00411378
ret