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

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x258]
test al, al
jne 0x464799
mov al, byte [esi + 0x114]
test al, al
jne 0x474699
mov eax, dword [esi + 0x234]
mov ebx, dword [esp + 0x10]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x238]
cmp edi, eax
je 0x464715
mov ecx, dword [edi]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x4647a1
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x238]
cmp edi, eax
jne 0x4646f8
mov eax, dword [esi + 0x240]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x244]
cmp edi, eax
je 0x464741
mov ecx, dword [edi]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x4647a1
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x244]
cmp edi, eax
jne 0x464728
mov eax, dword [esi + 0x21c]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x220]
cmp edi, eax
je 0x46476d
mov ecx, dword [edi]
push ebx
mov edx, dword [ecx]
call dword [edx + 0xc]
test al, al
je 0x4647a1
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x220]
cmp edi, eax
jne 0x464754
mov eax, dword [esi + 0x228]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x22c]
cmp edi, eax
je 0x464799
mov ecx, dword [edi]
push ebx
call fcn.0049b040
test al, al
je 0x4647a1
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x22c]
cmp edi, eax
jne 0x464780
pop edi
pop esi
mov al, 1
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov edx, dword [ebp + 0x179c]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xc0]
mov esi, dword [0x51f214]
mov dword [esp + 0x3c], edx
fld dword [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x17a0]
mov eax, dword [0x51f21c]
mov ebx, dword [0x51f218]
mov dword [esp + 0x38], ecx
fsub dword [esp + 0x38]
xor edi, edi
push edi
push esi
push edi
push eax
fstp dword [esp + 0x20]
call fcn.00454b60
xor ecx, ecx
push ecx
push ebx
push edx
push eax
call fcn.00454aa0
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], eax
fild qword [esp + 0x50]
mov dword [esp + 0x64], ecx
mov dword [0x51f21c], eax
mov edx, dword [ebp + 0x17a8]
push edi
stosb byte es:[edi], al
pop esp
and al, 0x18
fld dword [esp + 0x40]
fadd dword [esp + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x17a4]
mov dword [esp + 0x2c], edx
push esi
fsub dword [esp + 0x18]
fild qword [esp + 0x68]
push ecx
push eax
fdiv dword [esp + 0x24]
fmulp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x5c]
fld dword [esp + 0x38]
fsub dword [esp + 0x40]
fstp dword [esp + 0x20]
call fcn.00454b60
xor ecx, ecx
push ecx
push ebx
push edx
push eax
call fcn.00454aa0
fld dword [esp + 0x28]
fadd dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov dword [0x51f21c], eax
push ecx
fsub dword [esp + 0x14]
fild qword [esp + 0x5c]
fdiv dword [esp + 0x18]
fmulp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [ebp + 0x179c]
fmul dword [0x4fe8b4]
fstp dword [esp]
lea eax, [esp + 0x27c]
push eax
call fcn.0045c990
fld dword [esp + 0x1c]
fmul dword [0x4fe8b4]
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x1c0]
add esp, 4
rep movsd dword es:[edi], dword [esi]
fstp dword [esp]
lea ecx, [esp + 0x2fc]
push ecx
call fcn.0045ca50
fld dword [ebp + 0x179c]
fld dword [esp + 0x54]
fsub st(1)
add esp, 4
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x103]
fmul dword [0x4fe8b4]
lea edx, [esp + 0x2bc]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp]
push edx
fstp st(0)
call fcn.0045c990
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x240]
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x138]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
jmp 0x4744f5
mov eax, dword [esp + 0x10]
lea ebx, [esp + eax + 0x238]
lea edi, [esp + 0x1f8]
lea esi, [esp + eax + 0x138]
mov dword [esp + 0x14], 4
fld dword [esi]
mov ecx, ebx
mov eax, edi
mov edx, 4
fld dword [ecx]
fmul dword [eax]
add eax, 0x10
add ecx, 4
dec edx
faddp st(1)
jne 0x47451d
fstp dword [esi]
mov eax, dword [esp + 0x14]
add esi, 4
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x474512
mov eax, dword [esp + 0x10]
add eax, 0x10
cmp eax, 0x40
mov dword [esp + 0x10], eax
jl 0x4744f1
mov ecx, 0x10
lea esi, [esp + 0x138]
lea edi, [esp + 0x178]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
jmp 0x47457e
mov eax, dword [esp + 0x10]
lea ebx, [esp + eax + 0x178]
lea edi, [esp + 0x1b8]
lea esi, [esp + eax + 0x80]
mov dword [esp + 0x14], 4
fld dword [esi]
mov ecx, ebx
mov eax, edi
mov edx, 0x7b
fld dword [ecx]
fmul dword [eax]
add eax, 0x10
adc dword [ebx], 4
dec edx
faddp st(1)
jne 0x4745a6
fstp dword [esi]
mov eax, dword [esp + 0x14]
add esi, 4
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x47459b
mov eax, dword [esp + 0x10]
add eax, 0x10
cmp eax, 0x40
mov dword [esp + 0x10], eax
jl 0x47457a
fld dword [ebp + 0x1f8]
fstp dword [esp + 0x68]
fld dword [ebp + 0x1fc]
fstp dword [esp + 0x6c]
fld dword [ebp + 0x200]
fstp dword [esp + 0x70]
fld dword [esp + 0xa0]
fmul dword [0x53250c]
fld dword [esp + 0x90]
fmul dword [0x532508]
mov eax, dword [esp + 0x33c]
faddp st(1)
fld dword [esp + 0x80]
fmul dword [0x532504]
mov ecx, dword [eax]
mov dword [esp + 0xc0], ecx
faddp st(1)
mov edx, dword [eax + 4]
mov byte [0xc42494], al
add byte [eax], al
fadd dword [esp + 0xb0]
fld dword [esp + 0xa4]
fmul dword [0x53250c]
fld dword [esp + 0x94]
fmul dword [0x532508]
mov eax, dword [eax + 8]
mov dword [esp + 0xc8], eax
faddp st(1)
fld dword [esp + 0x84]
fmul dword [0x532504]
faddp st(1)
fadd dword [esp + 0xb4]
fld dword [esp + 0x80a8]
fmul dword [0x53250c]
fld dword [esp + 0x98]
fmul dword [0x532508]
faddp st(1)
fld dword [esp + 0x88]
fmul dword [0x532504]
rcr ecx, 0x84
and al, 0x88
add byte [eax], al
add al, bl
or eax, 0x532504
faddp st(1)
fadd dword [esp + 0xb8]
fstp dword [esp + 0x48]
fld dword [esp + 0x8c]
fmul dword [0x532504]
fld dword [esp + 0xac]
fmul dword [0x53250c]
faddp st(1)
fld dword [esp + 0x9c]
fmul dword [0x532508]
faddp st(1)
fadd dword [esp + 0xbc]
fdivr dword [0x4fe6cc]
fst dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x48]
fld st(1)
fmul dword [ebp + 0x1d8]
fld dword [esp + 0x40]
fmul dword [ebp + 0x1c8]
faddp st(1)
fld st(1)
fmul dword [ebp + 0x1e8]
faddp st(1)
fadd dword [ebp + 0x1f8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fmul dword [ebp + 0x1cc]
fld st(1)
fmul dword [ebp + 0x1ec]
faddp st(1)
fld st(2)
fmul dword [ebp + 0x1dc]
faddp st(1)
fadd dword [ebp + 0x1fc]
fstp dword [esp + 0x20]
fld dword [esp + 0x40]
fmul dword [ebp + 0x1d0]
fld st(1)
fmul dword [ebp + 0x1f0]
faddp st(1)
fld st(2)
fmul dword [ebp + 0x1e0]
faddp st(1)
fadd dword [ebp + 0x200]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fmul dword [ebp + 0x1d4]
fxch st(1)
fmul dword [ebp + 0x1f4]
faddp st(1)
fxch st(1)
fmul dword [ebp + 0x1e4]
faddp st(1)
fadd dword [ebp + 0x204]
fdiv dword [edx + 0x4fe6cc]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x68]
push ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fmul dword [esp + 0x28]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x78]
push edx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x128]
push eax
call fcn.0045a200
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 8]
push ecx
mov ecx, ebp
mov dword [esp + 0xf0], eax
call fcn.00474950
push ecx
lea edx, [esp + 0x134]
fstp dword [esp]
push edx
call fcn.00474920
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 8]
push ecx
mov ecx, ebp
mov dword [esp + 0xe4], eax
call fcn.00472c20
fld dword [esp + 0xe4]
fmul dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
fadd dword [esp + 0xc0]
fstp dword [esp + 0xc0]
fld dword [esp + 0xec]
fmul dword [esp + 0x18]
fadd dword [esp + 0xc8]
fstp dword [esp + 0xc8]
test ecx, ecx
je 0x4748cf
mov eax, dword [esp + 0xc0]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xd0]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [edx + 8], eax
call fcn.00483c10
fstp dword [esp + 0xc4]
lea ecx, [esp + 0xc0]
push ecx
mov edx, edx
call fcn.004749f0
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x17ac]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x474354
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x328
ret 0xc