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

Disassembly:
mov eax, dword [0x11d8e88]
sub esp, 0x4c
inc eax
lea ecx, [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x5c]
mov dword [0x11d8e88], eax
push esi
lea eax, [esp + 0x24]
push edi
push eax
push ecx
push 0x11d8d04
push 0x11d8e28
push ebx
call fcn.0044a380
add esp, 0x14
xor ecx, ecx
lea edx, [esp + 0x28]
fld dword [edx]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4798e7
fld dword [esp + 0x34]
fchs
fcomp dword [edx]
fnstsw ax
test ah, 1
je 0x4798e7
inc ecx
add edx, 4
cmp ecx, 3
jl 0x4796e8
lea edx, [esp + 0x18]
lea eax, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x30]
push 0x11d8bc4
push ecx
call fcn.0044a400
fld dword [esp + 0x28]
fcomp dword [0x4d6388]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x4798e7
fild dword [0x11d8cf4]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4798e7
fld dword [esp + 0x1c]
fcomp dword [0x4d6388]
fnstsw ax
test ah, 1
jne 0x4798e7
fild dword [0x11d8cf8]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4798e7
mov edi, dword [0x10f19d4]
mov eax, dword [esp + 0x74]
mov esi, edi
test esi, esi
je 0x4797bc
mov ecx, dword [0x11d8cc8]
mov edx, dword [0x11d8cd0]
cmp dword [esi + 0x44], eax
jne 0x4797b0
cmp dword [esi + 0xc], edx
jne 0x4797b0
cmp dword [esi + 8], ecx
je 0x4797b8
mov esi, dword [esi]
test esi, esi
jne 0x4797a1
jmp 0x4797bc
test esi, esi
jne 0x4797fd
mov esi, dword [0x10f19d8]
test esi, esi
je 0x4798e7
mov edx, dword [esi]
mov ecx, dword [esp + 0x5c]
mov dword [0x10f19d8], edx
mov dword [esi], edi
mov dword [0x10f19d4], esi
mov dword [esi + 0x10], ecx
mov edx, dword [0x11d8cd0]
mov dword [esi + 0xc], edx
mov ecx, dword [0x11d8cc8]
mov dword [esi + 8], ecx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x44], eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 4]
mov dword [esi + 0x1c], edx
mov eax, dword [0x11d8cd4]
dec eax
cmp ecx, eax
je 0x479827
mov dword [esi + 0x20], 0
mov ecx, dword [0x11d8a6c]
add ecx, 0xfffff830
mov dword [esi + 0x18], ecx
mov eax, dword [esp + 0x60]
mov edx, dword [0x11d8cd4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov dword [esi + 4], edx
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x38], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x40], ecx
test edi, edi
mov dword [esi + 0x3c], eax
je 0x4798bc
fld dword [0x11d8bc4]
fsub dword [ebx]
lea edx, [esp + 0xc]
push edx
fstp dword [esp + 0x10]
fld dword [0x11d8bc8]
fsub dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [0x11d8bcc]
fsub dword [ebx + 8]
fstp dword [esp + 0x18]
call fcn.0042a560
fld dword [esp + 0x18]
fmul dword [edi + 8]
fld dword [esp + 0x14]
fmul dword [edi + 4]
add esp, 4
faddp st(1)
fld dword [esp + 0xc]
fmul dword [edi]
faddp st(1)
fld st(0)
fmul dword [esi + 0x34]
fstp dword [esi + 0x34]
fld st(0)
fmul dword [esi + 0x38]
fstp dword [esi + 0x38]
fmul dword [esi + 0x3c]
fstp dword [esi + 0x3c]
fild dword [0x11d8cec]
fadd dword [esp + 0x18]
call fcn.004c2f40
mov dword [esi + 0x28], eax
fild dword [0x11d8cf0]
fadd dword [esp + 0x1c]
call fcn.004c2f40
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x30], eax
pop edi
pop esi
pop ebx
add esp, 0x4c
ret