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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0xc8
cmp byte [0x703886], 0
fldz
mov byte [esp + 0xc], 0
mov ebx, ecx
jne 0x4745f0
xor al, al
mov byte [0x703886], 1
mov byte [0x703885], al
mov edx, dword [0x7e4e94]
mov eax, 0x7e4e60
add edx, 0x34
lea edi, [esp + 0x54]
fld dword [edx]
fsub dword [eax]
fstp dword [esp + 0xb0]
fld dword [edx + 4]
fsub dword [eax + 4]
lea esi, [esp + 0xb0]
fstp dword [esp + 0xb4]
fld dword [edx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x58]
fst st(1)
fmul st(0)
fld dword [esp + 0x54]
fmul st(0)
faddp st(1)
fsqrt
fstp dword [esp + 0x48]
mov edi, dword [esp + 0x48]
mov eax, edi
mov dword [esp + 0x30], edi
push eax
mov dword [esp + 0x24], eax
fst dword [esp]
push dword [esp + 0x58]
fstp st(0)
call fcn.004a55e0
xor al, al
pop ecx
pop ecx
fstp dword [esp + 0x24]
mov byte [ebx + 5], al
push dword [0x7e469c]
push dword [0x7e4698]
call fcn.004a55e0
movzx eax, byte [0xa10afb]
fstp st(0)
pop ecx
pop ecx
imul eax, eax, 0x2e
mov ebp, dword [eax*8 + 0x94ad28]
xor al, al
mov byte [ebx + 5], al
fld dword [esp + 0x30]
fcomp dword [0x68af74]
fnstsw ax
test ah, 0x45
jne 0x4746b5
fld dword [0x68af74]
fstp dword [esp + 0x20]
mov edx, dword [ebx + 0x1b0]
test edx, edx
je 0x474eec
mov al, byte [edx + 0x50]
and al, 7
cmp al, 3
jne 0x474eec
call fcn.004bc120
cmp dword [eax + 0x394], 0
je 0x47470d
call fcn.004bc120
mov ecx, dword [eax + 0x394]
mov al, byte [ecx + 0x50]
and al, 7
cmp al, 2
jne 0x47470d
call fcn.004bc120
mov eax, dword [eax + 0x394]
mov edi, dword [eax + 0x29c]
cmp edi, 1
jne 0x47470d
mov byte [esp + 0xc], 1
mov esi, 0x7e4e60
lea edi, [esp + 0x60]
fldz
fldz
fldz
fldz
fldz
fld dword [0x68af78]
movsd dword es:[edi], dword [esi]
fstp st(2)
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x68]
fsub dword [ebx + 0x54]
fstp dword [esp + 0x68]
mov ax, word [ebx + 0xc]
cmp ax, 4
je 0x474750
cmp ax, 0x24
je 0x474750
cmp ax, 0x1e
jne 0x474aa5
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0
mov dword [esp + 0x18], esi
jmp 0x47498c
mov eax, dword [esp + 4]
mov edx, dword [ebp + eax*4 + 0x56c]
test edx, edx
je 0x474988
cmp dword [edx + 0x244], 0x37
je 0x474988
add edx, 0x34
lea edi, [esp + 0x6c]
mov eax, edx
fld dword [eax]
fsub dword [esp + 0x60]
fstp dword [esp + 0xbc]
fld dword [eax + 4]
fsub dword [esp + 0x18]
lea esi, [esp + 0xbc]
fstp dword [esp + 0xc0]
fld dword [eax + 8]
fsub dword [esp + 0x1c]
fstp dword [esp + 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x74]
fstp st(4)
fld st(3)
fcomp dword [0x68add8]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4747e7
fld st(3)
fchs
jmp 0x4747e9
fld st(3)
fstp st(5)
fld st(4)
fcomp dword [0x68ae2c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x474988
fld dword [esp + 0x70]
fstp st(5)
fld st(4)
fmul st(0)
fld dword [esp + 0x6c]
fmul st(0)
faddp st(1)
fld st(4)
fmul st(0)
faddp st(1)
fstp st(4)
fld st(3)
fstp st(5)
fld st(4)
fcomp dword [0x68af7c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x47484c
fld dword [edx + 8]
fstp st(5)
fld st(4)
fcomp st(2)
fnstsw ax
test ah, 0x45
jne 0x474988
fld st(4)
jmp 0x474986
fld st(3)
fsqrt
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(3)
fld dword [0x68ae2c]
fdiv st(3)
fstp st(5)
fld dword [esp + 0x6c]
fmul st(5)
fstp dword [esp + 0x6c]
fld dword [esp + 0x70]
fmul st(5)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul st(5)
fstp dword [esp + 0x74]
fld dword [ebx + 0x16c]
fst st(1)
fmul dword [ebp + 0x74]
fld dword [ebx + 0x168]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [ebp + 0x70]
mov eax, dword [esp + 4]
mov ecx, dword [ebp + eax*4 + 0x56c]
faddp st(1)
fld dword [ebx + 0x170]
fstp st(6)
lea edi, [ecx + 0x70]
fld st(5)
fmul dword [ebp + 0x78]
faddp st(1)
fstp st(4)
fld st(3)
fmul st(5)
fstp dword [esp + 0x14]
fld st(3)
fmul st(1)
fstp st(5)
fld st(3)
fmul dword [esp + 0x10]
fstp st(1)
fld dword [esp + 0x14]
fsub dword [edi + 8]
fstp st(4)
fld st(4)
fsub dword [edi + 4]
fstp st(5)
fsub dword [edi]
fld st(4)
fmul dword [esp + 0x70]
fld st(1)
fmul dword [esp + 0x6c]
faddp st(1)
fld st(4)
fmul dword [esp + 0x74]
faddp st(1)
fstp st(5)
fld st(4)
fcomp dword [0x68ae80]
fnstsw ax
test ah, 0x45
jne 0x474988
fld dword [ebx + 0x7c]
fstp st(4)
fld st(3)
fcomp dword [0x68add8]
fnstsw ax
test ah, 0x45
jne 0x47493c
fld st(2)
fsub dword [0x68af54]
fdiv st(5)
fcomp dword [0x68ad28]
fnstsw ax
and ah, 5
cmp ah, 1
je 0x474972
fld st(3)
fcomp dword [0x68add8]
fnstsw ax
test ah, 4
jne 0x474988
and ah, 0x45
test ah, 0x41
je 0x474988
fld st(2)
fsub dword [0x68af54]
fdiv st(5)
fld dword [0x68aeb8]
fmul dword [0x68ad28]
fcompp
fnstsw ax
test ah, 0x45
jne 0x474988
add ecx, 0x34
mov eax, ecx
fld dword [eax + 8]
fcomp st(2)
fnstsw ax
test ah, 0x45
jne 0x474988
fld dword [ecx + 8]
fstp st(2)
inc dword [esp + 4]
movzx eax, word [ebp + 0x594]
cmp dword [esp + 4], eax
jl 0x47476d
fld st(1)
fcomp dword [0x68af80]
fnstsw ax
test ah, 0x45
jne 0x474a9e
fld dword [0x68add8]
lea eax, [ebp + 0x34]
fstp st(5)
fld dword [0x68add8]
fstp st(4)
fld dword [eax + 8]
fstp st(3)
fld st(1)
fcomp st(3)
fnstsw ax
test ah, 0x45
jne 0x4749d9
fld st(1)
fsub st(3)
fstp st(4)
mov ax, word [ebx + 0xc]
cmp ax, 4
jne 0x474a6f
fld dword [0x7e47ec]
fstp st(3)
fld dword [0x68ae2c]
fcomp st(3)
fnstsw ax
and ah, 0x44
cmp ah, 0x40
jne 0x474a1b
mov eax, dword [ebp + 0x244]
cmp eax, 0x3a
je 0x474a1b
cmp eax, 0x38
je 0x474a1b
fld dword [0x68af84]
fadd st(4)
fstp st(5)
fld dword [0x68ade4]
fcomp st(3)
fnstsw ax
and ah, 0x44
cmp ah, 0x40
je 0x474a3f
fld dword [0x68ae2c]
fcomp st(3)
fnstsw ax
and ah, 0x44
cmp ah, 0x40
jne 0x474a49
fld dword [0x68af88]
fadd st(4)
fstp st(5)
fld dword [0x68adf4]
fcomp st(3)
fnstsw ax
and ah, 0x44
cmp ah, 0x40
jne 0x474a65
fld dword [0x68af24]
fadd st(4)
fstp st(5)
fld dword [0x68af8c]
fadd st(5)
jmp 0x474a99
cmp ax, 0x24
jne 0x474a85
fld dword [0x68ae08]
fadd st(4)
fadd dword [0x68af8c]
jmp 0x474a99
cmp ax, 0x1e
jne 0x474aa5
fld dword [0x68af84]
fadd st(4)
fadd dword [0x68af8c]
fstp dword [ebx + 0x7c]
jmp 0x474aa5
mov dword [ebx + 0x7c], 0
cmp byte [ebx + 3], 0
je 0x474f03
mov ax, word [ebx + 0xc]
cmp ax, 4
je 0x474ac3
cmp ax, 0x24
jne 0x474f03
fld dword [0x68af90]
fadd dword [esp + 0x20]
xor eax, eax
mov byte [esp + 8], 0
mov dword [esp + 0xa0], eax
fstp dword [esp + 0x28]
fld dword [0x68add8]
fstp dword [esp + 0x2c]
fld dword [ebx + 0x6c]
fcomp dword [0x68add8]
fnstsw ax
test ah, 0x45
jne 0x474b07
fld dword [esp + 0x28]
fadd dword [0x68ae84]
fstp dword [esp + 0x28]
mov eax, dword [ebx + 0x1b0]
add eax, 0x34
fld dword [eax]
fstp dword [esp + 0x34]
fld dword [eax + 4]
fstp dword [esp + 0x38]
fld dword [eax + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fsub dword [0x68af94]
fstp dword [esp + 0x3c]
fld dword [esp + 0x24]
fsin
fnstsw ax
test eax, 0x400
je 0x474b48
call fcn.00642920
fsin
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(4)
fld dword [esp + 0x24]
fcos
fnstsw ax
test eax, 0x400
je 0x474b68
call fcn.00642920
fcos
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(3)
fld dword [esp + 0x28]
fmul dword [0x68add8]
lea eax, [esp + 0x78]
lea ebp, [esp + 0xa0]
push 0
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp st(5)
fld dword [esp + 0x2c]
fmul st(3)
fsubr dword [esp + 0x38]
push 0
push 0
fstp dword [esp + 0xb0]
fld dword [esp + 0x34]
fmul st(4)
fsubr dword [esp + 0x44]
push 0
push 0
fstp dword [esp + 0xbc]
fld dword [esp + 0x50]
fsub st(5)
fstp dword [esp + 0xc0]
push 0
push 1
push 0
push ebp
push eax
mov eax, dword [ebx + 0x1b0]
lea edx, [esp + 0xcc]
fcompp
fcompp
add eax, 0x34
push edx
push eax
fstp st(0)
call fcn.004d92d0
add esp, 0x30
test al, al
fldz
fldz
je 0x474c51
mov esi, dword [esp + 0xa0]
mov al, byte [esi + 0x50]
and al, 7
cmp al, 2
jne 0x474c51
mov eax, esi
movsx edx, word [eax + 0x5c]
mov ebp, edx
mov ecx, dword [edx*4 + 0x92d4c8]
mov edi, dword [ebp*4 + 0x92d4c8]
mov eax, dword [edi + 0x1c]
fld dword [eax + 0x24]
mov eax, dword [ecx + 0x1c]
fstp st(2)
fld dword [eax + 0x18]
mov eax, dword [esp + 0xa0]
mov byte [esp + 8], 1
fsubp st(2)
fld st(1)
fstp dword [esp + 0x2c]
mov edx, dword [eax + 0x29c]
cmp edx, 2
jne 0x474c51
mov byte [ebx + 5], 1
fld dword [esp + 0x24]
fadd dword [0x68ae58]
fsin
fnstsw ax
test eax, 0x400
je 0x474c6d
call fcn.00642920
fsin
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(2)
fld dword [esp + 0x24]
fadd dword [0x68ae58]
fcos
fnstsw ax
test eax, 0x400
je 0x474c93
call fcn.00642920
fcos
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(1)
fld dword [esp + 0x28]
fmul st(1)
fsubr dword [esp + 0x34]
lea ebp, [esp + 0xa0]
push 0
fstp dword [esp + 0xa8]
fld dword [esp + 0x2c]
fmul st(2)
fsubr dword [esp + 0x3c]
push 0
push 0
fstp dword [esp + 0xb4]
fld dword [esp + 0x48]
fsub dword [esp + 0x4c]
push 0
push 0
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xb8]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x8c]
push 0
push 1
push 0
push ebp
push eax
mov eax, dword [ebx + 0x1b0]
push edx
fcompp
add eax, 0x34
push eax
call fcn.004d92d0
add esp, 0x30
test al, al
fldz
fldz
je 0x474d91
mov esi, dword [esp + 0xa0]
mov al, byte [esi + 0x50]
and al, 7
cmp al, 2
jne 0x474d91
mov eax, esi
cmp byte [esp + 8], 0
movsx edx, word [eax + 0x5c]
mov ebp, edx
mov ecx, dword [edx*4 + 0x92d4c8]
mov edi, dword [ebp*4 + 0x92d4c8]
mov eax, dword [edi + 0x1c]
fld dword [eax + 0x24]
mov eax, dword [ecx + 0x1c]
fstp st(2)
fld dword [eax + 0x18]
fsubp st(2)
je 0x474d70
fld dword [esp + 0x2c]
fcomp st(2)
fnstsw ax
test ah, 0x45
jne 0x474d6a
fld dword [esp + 0x2c]
jmp 0x474d6c
fld st(1)
fstp st(2)
jmp 0x474d75
mov byte [esp + 8], 1
fld st(1)
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0xa0]
mov edx, dword [eax + 0x29c]
cmp edx, 2
jne 0x474d91
mov byte [ebx + 5], 1
fld dword [esp + 0x24]
fsub dword [0x68ae58]
fsin
fnstsw ax
test eax, 0x400
je 0x474dad
call fcn.00642920
fsin
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(2)
fld dword [esp + 0x24]
fsub dword [0x68ae58]
fcos
fnstsw ax
test eax, 0x400
je 0x474dd3
call fcn.00642920
fcos
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp st(1)
fld dword [esp + 0x28]
fmul st(1)
fsubr dword [esp + 0x34]
mov eax, dword [esp + 0x44]
lea ebp, [esp + 0xa0]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x78]
fstp dword [esp + 0xa4]
fld dword [esp + 0x28]
fmul st(2)
fsubr dword [esp + 0x38]
push 0
push 0
fstp dword [esp + 0xb0]
push 0
push 0
push 0
push 0
push 1
push 0
push ebp
push eax
mov eax, dword [ebx + 0x1b0]
lea edx, [esp + 0xcc]
fcompp
add eax, 0x34
push edx
push eax
call fcn.004d92d0
add esp, 0x30
test al, al
fldz
je 0x474eba
mov esi, dword [esp + 0xa0]
mov al, byte [esi + 0x50]
and al, 7
cmp al, 2
jne 0x474eba
mov eax, esi
cmp byte [esp + 8], 0
movsx edx, word [eax + 0x5c]
mov ebp, edx
mov ecx, dword [edx*4 + 0x92d4c8]
mov edi, dword [ebp*4 + 0x92d4c8]
mov eax, dword [edi + 0x1c]
fld dword [eax + 0x24]
fstp st(1)
mov eax, dword [ecx + 0x1c]
fsub dword [eax + 0x18]
je 0x474e9b
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x474ea0
fld dword [esp + 0x2c]
fstp st(1)
jmp 0x474ea0
mov byte [esp + 8], 1
fst dword [esp + 0x2c]
mov eax, dword [esp + 0xa0]
mov edx, dword [eax + 0x29c]
cmp edx, 2
jne 0x474eba
mov byte [ebx + 5], 1
cmp byte [esp + 8], 0
je 0x474ee3
fld dword [0x68aeb8]
fadd dword [esp + 0x2c]
fstp dword [ebx + 0x6c]
cmp word [ebx + 0xc], 0x24
jne 0x474f07
fld dword [ebx + 0x6c]
fadd dword [0x68af98]
fstp dword [ebx + 0x6c]
jmp 0x474f07
fstp st(0)
mov dword [ebx + 0x6c], 0
cmp byte [esp + 0xc], 0
je 0x474f0b
mov dword [ebx + 0x6c], 0x3f800000
mov dword [ebx + 0x7c], 0
jmp 0x474f0b
fcompp
fcompp
fstp st(0)
jmp 0x474eec
add esp, 0xc8
pop ebp
pop edi
pop esi
pop ebx
ret