Function at 0x495684
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x7c
mov ebp, ecx
fld dword [ebp + 0x450]
mov edi, dword [ebp + 0x44c]
mov ecx, dword [ebp + 0x404]
fstp dword [esp + 0x6c]
lea eax, [ebp + 0x64c]
mov dword [esp + 0x68], eax
push dword [0x9a6ea8]
call fcn.005b8638
cmp edi, eax
jne 0x4958e9
fld dword [esp + 0x6c]
fcomp dword [0x902668]
fnstsw ax
sahf
jb 0x4958e9
fld dword [esp + 0x6c]
fcomp dword [0x902664]
fnstsw ax
sahf
ja 0x4958e9
fld dword [0x902adc]
fld dword [esp + 0x6c]
fcomp st(1)
fnstsw ax
fld dword [ebp + 0x454]
faddp st(1)
sahf
jb 0x495724
fld dword [esp + 0x6c]
fcompp
fnstsw ax
sahf
jae 0x495726
lea edx, [ebp + 0x640]
xor eax, eax
push eax
push eax
push edx
push 0x3c2
call fcn.00814298
add esp, 0x10
jmp 0x495726
fstp st(0)
mov eax, dword [ebp + 0x640]
mov edx, dword [ebp + 0x644]
mov edi, dword [ebp + 0x648]
mov ecx, dword [ebp + 0x40c]
mov dword [esp], eax
mov eax, dword [ebp + 0x64c]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0x10], 0x41200000
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x654]
mov dword [esp + 0x14], eax
lea eax, [esp]
push 0x90265c
push eax
call fcn.004a053c
mov eax, dword [0xaae168]
xor edi, edi
test eax, eax
jle 0x4958e9
lea edx, [ebp + 0x38]
mov dword [esp + 0x78], edx
lea ecx, [ebp + 0x4d0]
mov ebx, eax
mov dword [esp + 0x74], ecx
mov esi, dword [edi*4 + 0xaad720]
push esi
call fcn.0048e100
pop ecx
test eax, eax
je 0x4958de
mov edx, dword [esp + 0x78]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], edx
mov dword [esp + 0x70], ebp
xor edx, edx
mov ebp, ebx
mov ebx, edx
mov edx, dword [esp + ebx*4 + 0x1c]
lea ecx, [esp + 0x28]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 8]
mov edx, dword [esp + ebx*4 + 0x18]
mov dword [esp + 0x30], eax
call fcn.0082f9c4
mov edx, dword [esp + ebx*4 + 0x18]
lea ecx, [esp + 0x34]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x3c], eax
call fcn.0082f9c4
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
call fcn.0083a1f0
fstp st(0)
fld dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + ebx*4 + 0x4c], eax
test ebx, ebx
jle 0x49591d
fld dword [0x902ad4]
mov edx, ebx
fld dword [esp + edx*4 + 0x48]
fcom st(1)
fnstsw ax
mov ebx, ebp
sahf
mov ebp, dword [esp + 0x70]
jae 0x495878
fxch st(2)
fcom st(1)
fnstsw ax
sahf
fxch st(2)
jae 0x495915
fcomp st(1)
fnstsw ax
sahf
jbe 0x495888
fcompp
fnstsw ax
sahf
jae 0x4958de
jmp 0x49588c
fstp st(1)
fstp st(0)
add edx, 1
cmp edx, 3
jge 0x4958a1
mov dword [esp + 0x70], ebp
mov ebp, ebx
mov ebx, edx
jmp 0x4957d1
push 0x3dcccccd
push dword [ebp + 0x488]
call fcn.0048e9d4
add esp, 8
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
mov eax, dword [esi]
fstp dword [esp + 0x5c]
xor edx, edx
mov ecx, 0xffffffff
mov dword [esp + 0x58], edx
push ecx
push ecx
mov ecx, esi
push edx
push dword [esp + 0x68]
push 0
push ebp
call dword [eax + 0x60]
fstp st(0)
add edi, 1
cmp edi, ebx
jl 0x495795
mov eax, dword [ebp + 0x64c]
mov edx, dword [ebp + 0x650]
mov edi, dword [ebp + 0x654]
mov dword [ebp + 0x4d0], eax
mov dword [ebp + 0x4d4], edx
mov dword [ebp + 0x4d8], edi
add esp, 0x7c
pop ebx
pop ebp
pop esi
pop edi
ret
fstp st(2)
fstp st(1)
fstp st(0)
jmp 0x4958de
fstp st(0)
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x70]
jmp 0x49588c