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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], 0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0xfdba4c]
test eax, eax
je 0x492c26
fld dword [0x51d808]
add esp, 0x6c
ret
mov ecx, dword [0xfdba60]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov edx, dword [ecx + 0x24]
xor esi, esi
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov al, byte [ebp + 0x14]
test al, al
jbe 0x492ed0
push ebx
push edi
mov edi, dword [esp + 0x80]
lea ebx, [edi + 0x28]
mov edx, dword [ebp]
lea ecx, [esi + esi*2]
mov dword [esp + 0x84], 0
lea eax, [edx + ecx*4]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x5c], edx
mov edx, ebx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
fld dword [esp + 0x40]
mov ecx, dword [edx + 4]
fmul dword [0x52450c]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x44]
fmul dword [0x52450c]
mov ecx, dword [eax]
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [0x52450c]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x48]
fld dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x14]
fadd dword [esp + 0x44]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fsub dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov al, byte [edi + 0x38]
cmp al, 1
je 0x492d9a
lea ecx, [esp + 0x4c]
push ebx
push ecx
call fcn.004cb3c0
fcomp dword [0x51d808]
add esp, 8
fnstsw ax
test ah, 1
jne 0x492ec0
cmp byte [edi + 0x38], 1
jne 0x492dec
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
and eax, 0x7fffffff
test ecx, ecx
jne 0x492dc1
cmp esi, 1
jne 0x492db5
add eax, 0x100
jmp 0x492dd3
cmp esi, 2
jne 0x492dd3
add eax, 0x101
jmp 0x492dd3
cmp esi, 1
jne 0x492dcd
add eax, 0x101
jmp 0x492dd3
cmp esi, 2
jne 0x492dd3
inc eax
mov edx, dword [0xfdba60]
mov ecx, dword [edx + 0x40]
mov edx, dword [ecx*4 + 0x737d50]
xor ecx, ecx
mov cl, byte [edx + eax]
mov eax, ecx
jmp 0x492e06
mov edx, dword [0xfdba60]
push edi
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00492a50
add esp, 0x10
test eax, eax
je 0x492eab
lea edx, [esp + 0x4c]
push edx
call fcn.004cb4f0
fld dword [esp + 0x50]
fdiv st(1)
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fdiv st(1)
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, ebx
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fdiv st(1)
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x68]
push ecx
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x78]
mov eax, dword [eax + 8]
push edx
fstp st(0)
mov dword [esp + 0x84], eax
call fcn.004cb3c0
fcom dword [0x51d808]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x492ea9
fstp dword [esp + 0x84]
jmp 0x492eab
fstp st(0)
fld dword [esp + 0x84]
fadd dword [esp + 0x88]
fstp dword [esp + 0x88]
xor eax, eax
inc esi
mov al, byte [ebp + 0x14]
cmp esi, eax
jl 0x492c64
pop edi
pop ebx
xor ecx, ecx
pop esi
mov cl, byte [ebp + 0x14]
pop ebp
mov dword [esp + 0x74], ecx
fild dword [esp + 0x74]
fdivr dword [esp + 0x78]
add esp, 0x6c
ret