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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
call fcn.0043be50
fld dword [ebp + 8]
fmul dword [0x78a194]
call fcn.0075bc00
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.0048bd20
mov esi, dword [edi + 8]
mov dword [esp + 0x28], 0
jmp 0x492e10
lea eax, [edi + 8]
cmp esi, eax
je 0x492f31
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x492e3b
push eax
mov ecx, 0x883e70
call fcn.005d7190
test al, al
je 0x492f21
mov ebx, dword [esi + 0x10]
cmp ebx, 1
jne 0x492e53
mov ecx, dword [ebp + 8]
push 0
push ecx
push esi
mov ecx, edi
call fcn.00491e10
jmp 0x492e5f
test ebx, ebx
je 0x492e5f
mov dword [esp + 0x28], 1
mov edx, dword [esi + 0x14]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x492f21
cmp ebx, 1
je 0x492e88
test ebx, ebx
jne 0x492f21
fld dword [esp + 0x10]
fsub dword [ebp + 8]
fst dword [esp + 0x10]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jp 0x492f1a
test ebx, ebx
mov eax, dword [esi + 0x1c]
jne 0x492eb8
fld dword [eax + 0x24]
mov ebx, 1
fst dword [esp + 0x30]
fld dword [eax + 0x28]
jmp 0x492ec4
fld dword [eax + 0x2c]
xor ebx, ebx
fst dword [esp + 0x30]
fld dword [eax + 0x30]
fld st(1)
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x492f09
fmul st(1)
lea eax, [esi + 0x24]
push eax
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
push ecx
fstp st(0)
call fcn.004872f0
fld dword [esp + 0x38]
fsub dword [esp + 0x34]
add esp, 8
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
faddp st(1)
fadd dword [esp + 0x10]
fstp dword [esi + 0x14]
jmp 0x492f21
fstp st(0)
mov dword [esi + 0x10], ebx
fstp dword [esi + 0x14]
mov dword [esi + 0x18], 0
jmp 0x492f21
mov edx, dword [esp + 0x10]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [esp + 0x48]
je 0x492e10
mov ebx, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.005d7ab0
cmp ebx, eax
mov dword [esp + 0x6c], eax
je 0x49333b
jmp 0x492f50
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
mov dword [esp + 0x68], eax
lea eax, [ebx + 0x14]
lea ecx, [ebx + 0x24]
mov edi, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], 2
mov edi, edi
mov esi, dword [ebx + 8]
mov cl, byte [esi + 0x1a]
mov eax, 1
shl eax, cl
mov cl, byte [esi + 0x19]
mov edx, 1
shl edx, cl
mov dword [esp + 0x64], esi
imul eax, edx
dec eax
mov dword [esp + 0x50], eax
mov al, byte [esi + 0x1b]
test al, al
je 0x492fb6
movsx eax, al
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fdivr dword [0x78a194]
call fcn.0075bc00
mov dword [esp + 0x18], eax
jmp 0x492fbe
mov dword [esp + 0x18], 0
fld dword [esi + 0x84]
mov al, byte [esi + 0x1e]
test al, al
fchs
mov ecx, dword [esi + 0x88]
fstp dword [esp + 0x58]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
je 0x493028
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x493028
fld dword [esi + 0x54]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 0x41
jne 0x493028
fld dword [ebp + 8]
fmul dword [ecx + 0x70]
fstp dword [esp + 0x3c]
fld dword [ebp + 8]
fmul dword [ecx + 0x74]
fstp dword [esp + 0x40]
fld dword [ebp + 8]
fmul dword [ecx + 0x78]
fstp dword [esp + 0x44]
mov esi, dword [edi]
cmp esi, edi
je 0x4932c9
movsx ecx, word [esi + 8]
mov edx, dword [esp + 0x4c]
mov edi, dword [esi]
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x24], edi
jle 0x49329b
mov eax, dword [esp + 0x18]
test eax, eax
movzx ebx, byte [esi + 0x1f]
je 0x493078
mov eax, ecx
cdq
idiv dword [esp + 0x18]
mov edi, eax
movsx eax, word [esi + 8]
cdq
idiv dword [esp + 0x18]
mov edx, dword [esp + 0x50]
sub eax, edi
mov edi, dword [esp + 0x24]
add eax, ebx
and eax, edx
mov ebx, eax
movzx edx, byte [esi + 0xe]
movzx eax, word [esi + 0xc]
mov dword [esp + 0x24], edx
movsx edx, byte [esi + 0x1c]
fild dword [esp + 0x24]
mov dword [esp + 0x10], eax
movsx eax, byte [esi + 0x1d]
fmul dword [0x784548]
mov dword [esp + 0x34], 0x3f800000
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
movsx edx, byte [esi + 0x1e]
mov dword [esp + 0x54], edx
fmul dword [0x787af0]
mov edx, dword [esi + 0x14]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
fmul dword [0x78a94c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
fmul st(1)
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], edx
fstp dword [esp + 0xc]
fild dword [esp + 0x10]
fmul dword [0x78a94c]
fmul st(1)
fstp dword [esp + 0x10]
fild dword [esp + 0x54]
fmul dword [0x78a94c]
fmulp st(1)
fld dword [esp + 0xc]
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 5
jnp 0x49311a
mov dword [esp + 0x34], 0xbf800000
fld dword [esp + 0x10]
mov dword [esp + 0x38], 0x3f800000
fcomp dword [0x7d7d3c]
fnstsw ax
test ah, 5
jnp 0x49313b
mov dword [esp + 0x38], 0xbf800000
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x493150
fld dword [0x784250]
jmp 0x493156
fld dword [0x7842a0]
fld dword [esp + 0xc]
mov edx, dword [esp + 0x64]
fmul dword [esp + 0xc]
mov al, byte [edx + 0x1e]
test al, al
fmul dword [esp + 0x20]
fmul dword [ebp + 8]
fmul dword [esp + 0x34]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fmul dword [esp + 0x20]
fmul dword [ebp + 8]
fmul dword [esp + 0x38]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fmul st(1)
fmul st(1)
fmul dword [esp + 0x20]
fadd dword [esp + 0x58]
fmul dword [ebp + 8]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [ebp + 8]
fadd dword [esp + 0x5c]
fld dword [esp + 0x10]
fmul dword [ebp + 8]
fadd dword [esp + 0x60]
fld st(2)
fmul dword [ebp + 8]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
je 0x4931ef
fld dword [esp + 0x24]
fmul dword [esp + 0x3c]
faddp st(2)
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x44]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld st(2)
mov dword [esp + 0x1c], 0x501502f9
fmul st(3)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fld st(0)
fabs
fcomp qword [0x78da38]
fnstsw ax
test ah, 0x41
jne 0x49322e
fld dword [0x784250]
fdiv st(1)
fstp dword [esp + 0x1c]
fmul dword [0x784540]
mov word [esi + 8], cx
call fcn.0075bc00
fxch st(1)
fstp dword [esi + 0x10]
mov word [esi + 0xc], ax
mov eax, dword [esp + 0x14]
fstp dword [esi + 0x14]
mov dword [esi + 0x18], eax
fld dword [esp + 0x1c]
fmul dword [esp + 0xc]
fmul dword [0x78b104]
call fcn.0075bc00
fld dword [esp + 0x1c]
fmul dword [esp + 0x10]
mov byte [esi + 0x1c], al
fmul dword [0x78b104]
call fcn.0075bc00
fld dword [esp + 0x1c]
fmul st(1)
mov byte [esi + 0x1d], al
fmul dword [0x78b104]
call fcn.0075bc00
fstp st(0)
mov byte [esi + 0x1f], bl
mov ebx, dword [esp + 0x30]
mov byte [esi + 0x1e], al
jmp 0x4932b9
mov eax, dword [esi + 4]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
dec dword [eax]
mov ecx, dword [0x82da38]
push esi
push ecx
call fcn.0043f970
add esp, 8
mov eax, dword [esp + 0x28]
cmp edi, eax
mov esi, edi
jne 0x493032
mov edi, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
add edi, 8
add ecx, 4
dec eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
jne 0x492f70
xor ecx, ecx
lea eax, [ebx + 0x14]
mov esi, 2
mov edi, dword [eax]
xor edx, edx
cmp edi, eax
setne dl
add eax, 8
or ecx, edx
dec esi
jne 0x4932f4
test ecx, ecx
jne 0x493329
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.00491c10
mov eax, dword [0x82da3c]
push ebx
push eax
call fcn.0043f970
add esp, 8
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
jne 0x492f4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4