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

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov ebp, dword [esp + 0x12c]
xor eax, eax
cmp dword [ebp + 0x30], eax
push esi
push edi
mov dword [esp + 0x4c], eax
jle 0x453b3a
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov esi, dword [ebp + 0x28]
add esi, dword [esp + 0x38]
mov edi, dword [ebp + 0x24]
add edi, dword [esp + 0x3c]
fld dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
fstp dword [esp + 0x2c]
mov eax, dword [esi + 0x70]
fld dword [esi + 0x7c]
mov edx, dword [edi + 0x30]
fstp dword [esp + 0x24]
fld dword [esi + 0x80]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x34]
fstp dword [esp + 0x34]
fld dword [esi + 0x84]
lea eax, [eax + eax*2]
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x40]
mov ecx, dword [edi + 0x3c]
add eax, eax
add eax, eax
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x38]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x18]
fld dword [ecx + eax + 8]
mov dword [esp + 0x70], edx
mov edx, dword [ecx + eax]
fstp dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov edx, dword [ecx + eax + 4]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0x1c]
mov ebx, dword [edx + eax]
fld dword [edx + eax + 8]
mov dword [esp + 0xa8], ebx
fstp dword [esp + 0x48]
mov ebx, dword [edx + eax + 4]
mov eax, dword [esp + 0x30]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
fld dword [eax + ecx + 8]
mov dword [esp + 0xac], ebx
mov ebx, dword [eax + ecx]
fstp dword [esp + 0x18]
fld dword [eax + edx + 8]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + ecx + 4]
fstp dword [esp + 0x30]
mov ecx, dword [eax + edx]
fld dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + edx + 4]
push ecx
fstp dword [esp]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ecx
call fcn.00405020
fstp dword [esp + 0x94]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00405010
fstp dword [esp + 0x98]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00405020
fstp dword [esp + 0x84]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00405010
fstp dword [esp + 0x88]
fld dword [esp + 0x98]
fld st(0)
fld dword [esp + 0x60]
fld st(0)
fmulp st(2)
fld dword [esp + 0x5c]
fld st(0)
fld dword [esp + 0x94]
fld st(0)
lea eax, [esp + 0xd4]
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
push ecx
fmulp st(3)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.004069b0
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x68]
lea eax, [esp + 0x118]
call fcn.00421e20
fld dword [esp + 0x84]
fld st(0)
mov edx, dword [eax]
fld dword [esp + 0x74]
mov eax, dword [eax + 4]
fld st(0)
sub esp, 8
fmulp st(2)
mov dword [esp + 0x94], eax
fld dword [esp + 0x78]
lea eax, [esp + 0xd0]
fld st(0)
mov dword [esp + 0x90], edx
fld dword [esp + 0x88]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fmulp st(3)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.004069b0
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x50]
lea eax, [esp + 0xf8]
call fcn.00421e20
fld dword [edi + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x80], ecx
fld dword [edi + 0x4c]
mov ecx, dword [esi + 0x94]
fstp dword [esp]
mov dword [esp + 0x84], edx
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x90]
push eax
mov eax, dword [edx + ecx*4]
add eax, 0x40
push eax
lea eax, [esp + 0x88]
lea edi, [esp + 0xe8]
call fcn.00455d40
mov eax, dword [esi + 0x90]
test eax, eax
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
lea ebx, [esi + 0x48]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
jle 0x4539d1
fld dword [esp + 0x24]
lea ecx, [esp + 0xe0]
fadd dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
lea edi, [esi + 8]
mov dword [esp + 0x18], eax
fstp qword [esp + 0xa0]
fld dword [esp + 0x48]
fchs
fstp dword [esp + 0x44]
fld dword [esp + 0x30]
fchs
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
lea eax, [esp + 0x100]
call fcn.00421e20
mov edx, dword [eax]
mov dword [edi - 8], edx
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov dword [edi - 4], eax
lea ecx, [esp + 0x50]
lea eax, [esp + 0x110]
call fcn.00421e20
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, ebx
lea ecx, [edi - 8]
mov dword [edi + 4], edx
call fcn.00421e10
fstp dword [esp + 0x28]
mov eax, ebx
mov ecx, edi
call fcn.00421e10
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fld st(0)
fmul dword [esp + 0x34]
fmulp st(1)
fadd qword [esp + 0xa0]
fld dword [esp + 0x14]
fld st(0)
fmul dword [esp + 0x40]
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x453822
fld1
fdivrp st(1)
jmp 0x453826
fstp st(0)
fldz
fstp dword [edi + 0x10]
sub esp, 8
fld dword [ebx]
lea eax, [esp + 0xa0]
fmul qword [0x499af0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [ebx + 4]
fstp dword [esp]
call fcn.004069b0
lea eax, [esp + 0x98]
lea ecx, [edi - 8]
call fcn.00421e10
fstp dword [esp + 0x14]
lea eax, [esp + 0x98]
mov ecx, edi
call fcn.00421e10
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fld st(0)
fmul dword [esp + 0x34]
fmulp st(1)
fadd qword [esp + 0xa0]
fld dword [esp + 0x28]
fld st(0)
fmul dword [esp + 0x40]
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4538b1
fld1
fdivrp st(1)
jmp 0x4538b5
fstp st(0)
fldz
fstp dword [edi + 0x14]
sub esp, 8
lea eax, [esp + 0xc8]
fstp dword [edi + 0x18]
fld dword [edi - 8]
fmul dword [esp + 0x50]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [edi - 4]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
fld dword [edi]
sub esp, 8
fmul dword [esp + 0x38]
lea eax, [esp + 0xb8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [edi + 4]
fmul dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
fld dword [esp + 0xb4]
sub esp, 8
fadd dword [esp + 0x6c]
lea eax, [esp + 0xc0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0xb8]
fadd dword [esp + 0x68]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
lea ecx, [esp + 0xa8]
lea edx, [esp + 0xb8]
lea eax, [esp + 0xf0]
call fcn.00421e20
mov edx, eax
lea ecx, [esp + 0xc0]
lea eax, [esp + 0x108]
call fcn.00421e20
mov ecx, ebx
call fcn.00415b00
fstp dword [esp + 0x14]
fld dword [0x4999ec]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4539bc
fld dword [esi + 0x8c]
fchs
fmulp st(1)
fstp dword [edi + 0x18]
jmp 0x4539be
fstp st(0)
add dword [esp + 0x1c], 8
add edi, 0x24
sub dword [esp + 0x18], 1
jne 0x45378e
cmp dword [esi + 0x90], 2
jne 0x453b19
mov eax, ebx
mov ecx, esi
lea edi, [esi + 0x24]
call fcn.00421e10
fstp dword [esp + 0x20]
lea ecx, [esi + 8]
mov eax, ebx
call fcn.00421e10
fstp dword [esp + 0x44]
mov eax, ebx
mov ecx, edi
call fcn.00421e10
fstp dword [esp + 0x14]
lea ecx, [edi + 8]
mov eax, ebx
call fcn.00421e10
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fld dword [esp + 0x24]
fadd dword [esp + 0x2c]
fld dword [esp + 0x44]
fld st(0)
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(6)
fmul st(5)
fadd st(3)
fxch st(2)
fmul st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fld st(0)
fmulp st(4)
fld st(0)
fmulp st(4)
fxch st(3)
fadd st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(7)
fld st(0)
fmulp st(7)
fxch st(1)
faddp st(6)
fxch st(5)
fstp dword [esp + 0x2c]
fxch st(2)
fmulp st(3)
faddp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fld st(2)
fmulp st(3)
fld dword [esp + 0x2c]
fmul st(4)
fld st(1)
fmulp st(2)
fsubrp st(1)
fmul qword [0x4999e0]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x453b0b
sub esp, 8
fstp dword [esp + 4]
lea edi, [esi + 0x60]
mov eax, edi
fstp dword [esp]
call fcn.004069b0
fld dword [esp + 0x2c]
sub esp, 8
fstp dword [esp + 4]
lea eax, [esi + 0x68]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.004069b0
lea ecx, [esp + 0x120]
mov eax, edi
call fcn.00453150
mov ecx, dword [eax]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x5c], edx
jmp 0x453b19
fstp st(1)
mov dword [esi + 0x90], 1
fstp st(0)
mov eax, dword [esp + 0x4c]
add dword [esp + 0x38], 0x98
add dword [esp + 0x3c], 0x58
add eax, 1
cmp eax, dword [ebp + 0x30]
mov dword [esp + 0x4c], eax
jl 0x4534e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 4