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

Disassembly:
fld dword [esp + 0x14]
fcomp dword [0x5906b8]
sub esp, 0x98
push esi
push edi
fnstsw ax
mov esi, ecx
test ah, 0x41
je 0x4da983
fld dword [esp + 0xb0]
fcomp dword [0x5906b8]
fnstsw ax
test ah, 0x41
je 0x4da983
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov edi, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d9040
mov eax, edi
pop edi
pop esi
add esp, 0x98
ret 0x20
fld dword [esp + 0xb4]
fmul dword [0x5906a8]
fld dword [esp + 0xb0]
fmul dword [0x5906a8]
push ebx
push ebp
push ecx
fstp dword [esp + 0x14]
fld st(0)
fadd dword [esp + 0xb8]
fstp dword [esp]
fld dword [esp + 0x14]
fadd dword [esp + 0xb4]
push ecx
fstp dword [esp]
fld dword [esp + 0xbc]
fsub st(1)
push ecx
fstp dword [esp]
push ecx
lea ecx, [esp + 0x78]
fstp st(0)
fld dword [esp + 0xc0]
fsub dword [esp + 0x20]
fstp dword [esp]
call fcn.004e2c20
fld dword [esp + 0x68]
fadd dword [0x5906a8]
call fcn.004f8bec
fld dword [esp + 0x6c]
fadd dword [0x5906a8]
mov ebp, eax
mov dword [esp + 0x40], ebp
call fcn.004f8bec
fld dword [esp + 0x70]
fadd dword [0x5906a8]
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.004f8bec
fld dword [esp + 0x74]
fadd dword [0x5906a8]
mov ebx, eax
mov dword [esp + 0x28], ebx
call fcn.004f8bec
fld dword [esp + 0xbc]
fcomp dword [0x5906b8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
fnstsw ax
test ah, 0x41
jne 0x4daed3
fld dword [esp + 0xb8]
fcomp dword [0x5906b8]
fnstsw ax
test ah, 0x41
jne 0x4daed3
lea ecx, [esp + 0x78]
call fcn.004e2c00
lea ecx, [esp + 0x48]
call fcn.004e2c00
fild dword [esp + 0x14]
fild dword [esp + 0x40]
push ecx
fstp dword [esp + 0x14]
fld st(0)
fadd dword [0x5906a8]
fstp dword [esp]
fld dword [esp + 0x14]
fadd dword [0x5906a8]
push ecx
fstp dword [esp]
push ecx
fsub dword [0x5906a8]
fstp dword [esp]
fld dword [esp + 0x1c]
fsub dword [0x5906a8]
push ecx
lea ecx, [esp + 0x68]
fstp dword [esp]
call fcn.004e2c20
lea edx, [esp + 0x88]
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.004e2cb0
fild dword [esp + 0x30]
fild dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
fstp dword [esp + 0x10]
mov edx, dword [eax + 4]
fld st(0)
fadd dword [0x5906a8]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 8]
push ecx
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0xc]
fstp dword [esp]
fld dword [esp + 0x14]
fadd dword [0x5906a8]
push ecx
mov dword [esp + 0x8c], edx
fstp dword [esp]
push ecx
fsub dword [0x5906a8]
fstp dword [esp]
fld dword [esp + 0x1c]
fsub dword [0x5906a8]
push ecx
lea ecx, [esp + 0x68]
fstp dword [esp]
call fcn.004e2c20
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x70]
call fcn.004e2cb0
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x78]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
call fcn.004e2dc0
fstp dword [esp + 0x28]
lea ecx, [esp + 0x78]
call fcn.004e2dd0
fstp dword [esp + 0x88]
lea ecx, [esp + 0x48]
call fcn.004e2dc0
fstp dword [esp + 0x10]
lea ecx, [esp + 0x48]
call fcn.004e2dd0
fstp dword [esp + 0x58]
fld dword [esp + 0x88]
fmul dword [esp + 0x28]
lea eax, [esp + 0x24]
mov edi, dword [esp + 0xc8]
lea ecx, [esp + 0x18]
mov ebp, dword [esp + 0xc4]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x50]
fstp dword [esp]
push edi
push ebp
push ecx
push edx
push eax
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
fld dword [esp + 0x10]
fmul dword [esp + 0x88]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
push ecx
lea eax, [esp + 0x50]
mov ecx, esi
fstp dword [esp]
push edi
push ebp
push edx
push ebx
push eax
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
fld dword [esp + 0x58]
fmul dword [esp + 0x28]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push ecx
lea ecx, [esp + 0x50]
fstp dword [esp]
push edi
push ebp
push edx
push eax
push ecx
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
fld dword [esp + 0x60]
fmul dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
push ecx
lea ecx, [esp + 0x50]
fstp dword [esp]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
mov edx, dword [esp + 0x40]
lea eax, [edx + 1]
cmp eax, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
jge 0x4dad6a
jmp 0x4dace8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edi
push ebp
push edx
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push edi
push ebp
push eax
lea edx, [esp + 0x64]
push ecx
push edx
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, ebx
mov dword [esp + 0x2c], eax
jl 0x4dace4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], eax
jge 0x4dae08
jmp 0x4dad89
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x50]
push ecx
push edi
push ebp
push eax
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push edi
push ebp
push eax
lea ecx, [esp + 0x54]
push ebx
push ecx
mov ecx, esi
call fcn.004d8f10
push eax
mov ecx, esi
call fcn.004da8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4dad85
mov eax, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jge 0x4db060
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x2c], eax
jge 0x4daebd
jmp 0x4dae30
mov eax, dword [esp + 0x2c]
push edi
push ebp
push ecx
lea edx, [esp + 0x50]
push eax
push edx
mov ecx, esi
call fcn.004d8f10
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x36]
and ecx, 0xff
mov edx, dword [esp + 0x35]
mov dword [esp + 0x10], ecx
and edx, 0xff
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
and eax, 0xff
mov ecx, dword [esp + 0x14]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x37]
and eax, 0xff
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
inc eax
fadd dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
jl 0x4dae2c
mov eax, dword [esp + 0x30]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4dae1a
jmp 0x4db060
lea ecx, [esp + 0x48]
call fcn.004e2c00
lea ecx, [esp + 0x58]
call fcn.004e2bd0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edi
cmp edi, eax
jg 0x4db060
cmp ebp, ebx
mov dword [esp + 0x2c], ebp
jg 0x4db04b
fild dword [esp + 0x14]
fld st(0)
fadd dword [0x5906a8]
fstp dword [esp + 0x3c]
fsub dword [0x5906a8]
fstp dword [esp + 0x10]
fild dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push ecx
fld st(0)
fadd dword [0x5906a8]
fstp dword [esp]
push edx
push ecx
fsub dword [0x5906a8]
lea ecx, [esp + 0x88]
fstp dword [esp]
call fcn.004e2c20
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x70]
call fcn.004e2cb0
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x48]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x58], edx
call fcn.004e2d80
mov edx, dword [esp + 0xc8]
mov ecx, eax
push edx
mov edx, dword [esp + 0xc8]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x60], eax
mov ecx, dword [ecx + 4]
push edx
push ecx
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x70], ecx
push eax
mov ecx, esi
call fcn.004d9040
mov edi, dword [eax]
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], edi
call fcn.004e2ca0
mov ecx, dword [esp + 0x36]
mov edx, dword [esp + 0x35]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 0x28], ecx
and edi, 0xff
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x37]
and eax, 0xff
inc ebp
fmul st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edi
fmul st(1)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
fmul st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fild dword [esp + 0x28]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fstp st(0)
cmp ebp, ebx
mov dword [esp + 0x2c], ebp
jle 0x4daf1b
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x4daef5
lea ecx, [esp + 0x68]
call fcn.004e2ca0
fld dword [esp + 0x20]
fdiv st(1)
pop ebp
pop ebx
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fdivr dword [esp + 0x1c]
fld dword [esp + 0x18]
fcom dword [0x590898]
fnstsw ax
test ah, 0x41
jne 0x4db0a8
fstp st(0)
fld dword [0x590898]
jmp 0x4db0bd
fcom dword [0x58c488]
fnstsw ax
test ah, 1
je 0x4db0bd
fstp st(0)
fld dword [0x58c488]
call fcn.004f8bec
fld dword [esp + 0x14]
fcom dword [0x590898]
mov byte [esp + 0x2e], al
fnstsw ax
test ah, 0x41
jne 0x4db0e1
fstp st(0)
fld dword [0x590898]
jmp 0x4db0f6
fcom dword [0x58c488]
fnstsw ax
test ah, 1
je 0x4db0f6
fstp st(0)
fld dword [0x58c488]
call fcn.004f8bec
fld dword [esp + 0x10]
fcom dword [0x590898]
mov byte [esp + 0x2d], al
fnstsw ax
test ah, 0x41
jne 0x4db11a
fstp st(0)
fld dword [0x590898]
jmp 0x4db12f
fcom dword [0x58c488]
fnstsw ax
test ah, 1
je 0x4db12f
fstp st(0)
fld dword [0x58c488]
call fcn.004f8bec
fcom dword [0x590898]
mov byte [esp + 0x2c], al
fnstsw ax
test ah, 0x41
jne 0x4db14f
fstp st(0)
fld dword [0x590898]
jmp 0x4db164
fcom dword [0x58c488]
fnstsw ax
test ah, 1
je 0x4db164
fstp st(0)
fld dword [0x58c488]
call fcn.004f8bec
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [eax], ecx
pop esi
add esp, 0x98
ret 0x20