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

Disassembly:
sub esp, 0x3dc
mov eax, dword [esp + 0x3e4]
push ebx
push esi
push edi
push 1
push eax
lea ecx, [esp + 0x130]
push 0
push ecx
call fcn.00492430
mov edx, dword [esp + 0x404]
push 1
push edx
lea eax, [esp + 0x1a0]
push 0
push eax
call fcn.00492430
add esp, 0x20
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [esp + 0x1e8]
lea eax, [esp + 0x130]
mov ebx, 0x10
mov ecx, dword [eax - 8]
mov edi, edx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov ecx, 8
lea esi, [esp + 0x80]
add eax, 0xc
add edx, 0x20
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x491f58
lea edx, [esp + 0x1e8]
sbb dword [eax], edx
lea eax, [esp + 0x84]
push edx
push eax
call fcn.00491950
mov ecx, 9
mov esi, eax
lea edi, [esp + 0x8c]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x80]
lea edi, [esp + 0x48]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x50]
mov ecx, 0x18
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
fstp dword [esp + 0x60]
fld dword [esp + 0x128]
fld dword [esp + 0x12c]
fld dword [esp + 0x130]
fld dword [esp + 0x84]
fmul st(2)
fld dword [esp + 0x60]
fmul st(2)
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0x48]
fmul st(4)
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], eax
faddp st(1)
mov eax, ecx
lea esi, [esp + 0x138]
mov dword [esp + 0x64], eax
mov edi, 0xf
fstp dword [esp + 0xc]
fld dword [esp + 0x58]
fmul st(2)
fld dword [esp + 0x8c]
fmul st(4)
mov eax, dword [esp + 0xc]
faddp st(1)
fld st(1)
fmul dword [esp + 0x44]
mov dword [esp - 0x2d], eax
mov dword [esp + 0x20], eax
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fmul st(1)
fld dword [esp + 0x5c]
fmul st(3)
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
faddp st(1)
fld dword [esp + 0x50]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], edx
fld dword [esi - 4]
fld dword [esi]
fld dword [esi + 4]
fld dword [esp + 0x84]
fmul st(2)
fld st(1)
fmul dword [esp + 0x60]
faddp st(1)
fld st(3)
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0xc]
fld st(1)
fmul dword [esp + 0x58]
fld dword [esp + 0x8c]
fmul st(4)
faddp st(1)
fld st(1)
fmul dword [esp + 0x44]
faddp st(1)
fstp dword [esp + 0x10]
fmul dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x50]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x14]
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x492128
fld dword [esp + 0x28]
jmp 0x49212c
fld dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x492147
fld dword [esp + 0x24]
jmp 0x49214b
fld dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fcomp dword [esp + 0xc]
fnstsw ax
and eax, 0x4100
jne 0x49216a
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
jmp 0x492172
mov edx, dword [esp + 0xc]
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x1c]
pop ecx
dec esp
and al, 0x18
mov edx, dword [esp + 0x70]
das
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00402d30
fld dword [esp + 0x34]
fld dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
fcompp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
fnstsw ax
test ah, 5
jp 0x4921bc
fld dword [esp + 0x14]
jmp 0x4921c0
fld dword [esp + 0x34]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x4921db
fld dword [esp + 0x10]
jmp 0x4921df
fld dword [esp + 0x30]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fcomp dword [esp + 0xc]
fnstsw ax
and eax, 0x4100
jne 0x4921fe
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
jmp 0x492206
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + ecx + 0x6c]
push edx
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00402d30
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esi, 0xc
dec edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jne 0x4920b5
lea ecx, [esp + 0x48]
call fcn.00491e70
lea edx, [esp + 0x38]
push 0
push edx
lea ecx, [esp + 0x50]
call fcn.00491ea0
mov ecx, dword [eax]
push 1
mov dword [esp], ecx
test al, 0
add byte [eax], al
mov edx, dword [eax + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xac], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0xb4], eax
call fcn.00491ea0
mov edx, dword [eax]
push 2
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0xcc], edx
call fcn.00491ea0
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0xb8], eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00410e30
push eax
lea edx, [esp + 0x88]
push 0x3f000000
push edx
call fcn.00474920
add esp, 0x18
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00492920
mov ecx, dword [eax]
mov dword [esp + 0xd4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd8], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0xe4], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xec], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0xf8], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0x73], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x100], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xcc]
lea edx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x10c], eax
call fcn.004622e0
mov ecx, dword [eax]
mov dword [esp + 0x110], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x114], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x118], eax
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
call fcn.0045a200
push eax
lea ecx, [esp + 0xa8]
push 0x3f000000
push ecx
call fcn.00474920
mov edx, dword [eax]
mov dword [esp + 0x158], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x15c], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x104]
mov dword [esp + 0x160], edx
push eax
call fcn.0045d520
mov eax, dword [esp + 0x42c]
mov ecx, 0x18
lea esi, [esp + 0x108]
mov edi, eax
add esp, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x3dc
ret