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

Disassembly:
mov al, byte [0x69c575]
sub esp, 0xcc
test al, al
je 0x452b19
mov ecx, dword [0x87b7b4]
push esi
push edi
mov edi, dword [esp + 0xd8]
movsx edx, word [edi + 0x4e]
fld dword [edi + 0x54]
mov eax, dword [edi + 4]
fcomp dword [0x672af8]
imul edx, edx, 0x44
and eax, 0xffff
shl eax, 5
mov esi, dword [eax + ecx + 0x14]
add edx, dword [esi + 0x38]
mov eax, dword [edi + 0x58]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], esi
fnstsw ax
test ah, 0x41
mov dword [esp + 0x88], edx
jne 0x45215f
fld dword [edi + 0x50]
fdiv dword [edi + 0x54]
fstp dword [esp + 0x78]
jmp 0x452167
mov dword [esp + 0x78], 0x3f800000
mov eax, dword [edx + 0x38]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x9c], ecx
jle 0x452b10
push ebx
push ebp
jmp 0x452190
mov esi, dword [esp + 0xb4]
jmp 0x452190
mov eax, dword [edx + 0x3c]
mov ebp, ecx
imul ebp, ebp, 0xe8
add ebp, eax
mov ax, word [ebp + 8]
test ax, ax
jl 0x452af3
movsx ebx, ax
cmp ebx, dword [esi + 0x28]
jge 0x452af3
mov dl, byte [edi + 2]
mov ax, word [ebp + 2]
shr dl, 6
test dl, 1
je 0x4521cb
cmp ax, 1
jmp 0x4521cf
cmp ax, 2
setne al
test al, al
je 0x452aec
movzx eax, byte [ecx + edi + 0xdc]
mov ecx, dword [esp + 0x80]
xor esi, esi
mov si, word [ebp + 0x68]
mov dword [esp + 0x18], eax
push ecx
fild dword [esp + 0x1c]
fstp dword [esp + 0x20]
push esi
call fcn.004533f0
fmul dword [esp + 0x24]
call fcn.006392c4
mov edx, dword [esp + 0xd0]
push edx
push esi
mov word [esp + 0xd4], ax
call fcn.004533f0
fmul dword [esp + 0x2c]
add esp, 0x10
call fcn.006392c4
xor ecx, ecx
mov cx, word [esp + 0xc4]
sub ecx, eax
cmp byte [0x69c575], 1
mov dword [esp + 0x1c], ecx
jne 0x452262
movsx eax, cx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x672af4]
call fcn.006392c4
mov dword [esp + 0x1c], eax
mov ecx, eax
test cx, cx
jle 0x452aec
mov ecx, dword [edi + ebx*4 + 0x5c]
xor edx, edx
mov dx, word [ebp + 4]
lea eax, [esp + 0x94]
mov dword [esp + 0x94], ecx
push edx
push eax
push edi
call fcn.004532e0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x20], esi
je 0x452aec
jmp 0x4522a2
mov esi, dword [esp + 0x20]
mov ax, word [esi + 2]
cmp ax, 0xffff
je 0x4522cb
test ah, ah
jns 0x4522cb
movsx ecx, word [edi + 0x4c]
mov edx, dword [0x6b2cc0]
imul ecx, ecx, 0x1ea0
cmp dword [ecx + edx + 8], 0xffffffff
je 0x452ac8
movzx eax, word [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xe0]
fld dword [ebp + 0x70]
test al, al
fst dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov ecx, dword [ebp + 0xe4]
mov dword [esp + 0xcc], edx
jns 0x4522fe
fstp st(0)
fld dword [esp + 0x14]
fmul dword [edi + 0x44]
test cl, cl
jns 0x452305
fmul dword [edi + 0x48]
test ah, 1
fld dword [esp + 0xcc]
fsub dword [esp + 0x14]
je 0x452318
fmul dword [edi + 0x44]
test ch, 1
je 0x452320
fmul dword [edi + 0x48]
mov eax, dword [0x719bfc]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
mov ecx, eax
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x719bfc], eax
mov edx, eax
movsx eax, word [0x6b7a20]
shr edx, 0x10
imul edx, eax
shr ecx, 0x10
mov dword [esp + 0x14], ecx
shr edx, 0x10
movsx eax, dx
fild dword [esp + 0x14]
mov edx, dword [0x6b7a1c]
fmul dword [0x672bbc]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 8]
fmul st(1)
mov ebx, 0x3f800000
cmp eax, ebx
faddp st(2)
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
fstp st(0)
fld dword [ebp + 0x14]
fld dword [ebp + 0x18]
fld dword [ebp + 0x1c]
je 0x4523c2
fxch st(2)
fmul dword [esi + 8]
fxch st(2)
fxch st(1)
fmul dword [esi + 8]
fxch st(1)
fmul dword [esi + 8]
fld st(0)
mov ecx, dword [ebp + 0xe4]
fmul dword [esi + 0x24]
mov edx, dword [ebp + 0xe0]
fld st(3)
mov eax, dword [ebp + 0x8c]
fmul dword [esi + 0xc]
push ecx
mov ecx, dword [ebp + 0x88]
push edx
faddp st(1)
mov edx, dword [ebp + 0x84]
fld st(2)
push eax
fmul dword [esi + 0x18]
push ecx
push edx
lea eax, [esp + 0x60]
faddp st(1)
push eax
lea ecx, [esp + 0x58]
push ecx
fstp dword [esp + 0xec]
lea eax, [ebp + 0x20]
push eax
fld st(0)
push 0x719bfc
fmul dword [esi + 0x28]
mov eax, edi
fld st(3)
fmul dword [esi + 0x10]
faddp st(1)
fld st(2)
fmul dword [esi + 0x1c]
faddp st(1)
fstp dword [esp + 0xf8]
fmul dword [esi + 0x2c]
fxch st(2)
fmul dword [esi + 0x14]
faddp st(2)
fmul dword [esi + 0x20]
faddp st(1)
fld dword [esp + 0xdc]
fmul st(2)
fadd dword [esi + 0x30]
fadd dword [esp + 0xf4]
fstp dword [esp + 0x58]
fld dword [esp + 0xe0]
fmul st(2)
fadd dword [esi + 0x34]
fadd dword [esp + 0xf8]
fstp dword [esp + 0x5c]
fld dword [esp + 0xe4]
fmul st(2)
fadd dword [esi + 0x38]
fadd st(1)
fstp dword [esp + 0x60]
fstp st(0)
fstp st(0)
call fcn.00451470
fld dword [esp + 0x64]
add esp, 0x24
fld dword [esp + 0x44]
fld dword [esp + 0x40]
fmul dword [esi + 0xc]
fld dword [esp + 0x44]
fmul dword [esi + 0x18]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esp + 0x40]
fld st(1)
fmul dword [esi + 0x10]
fld dword [esp + 0x44]
fmul dword [esi + 0x1c]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esi + 0x28]
faddp st(1)
fstp dword [esp + 0x44]
fmul dword [esi + 0x20]
mov eax, dword [esi + 8]
cmp eax, ebx
fxch st(1)
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esi + 0x2c]
faddp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
je 0x45250e
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x4c]
fmul dword [esi + 8]
fld dword [esp + 0x50]
fmul dword [esi + 8]
fld dword [esp + 0x54]
fmul dword [esi + 8]
fld st(0)
xor eax, eax
fmul dword [esi + 0x24]
mov ax, word [esi + 2]
cmp ax, 0xffff
fld st(2)
fmul dword [esi + 0x18]
faddp st(1)
fld st(3)
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [esp + 0x4c]
fld st(0)
fmul dword [esi + 0x28]
fld st(2)
fmul dword [esi + 0x1c]
faddp st(1)
fld st(3)
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [esp + 0x50]
fmul dword [esi + 0x2c]
fxch st(1)
fmul dword [esi + 0x20]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x14]
faddp st(1)
fstp dword [esp + 0x54]
je 0x452711
test ah, ah
jns 0x45258b
movsx edx, word [edi + 0x4c]
mov ecx, dword [0x6b2cc0]
imul edx, edx, 0x1ea0
and eax, 0x7fff
movsx eax, ax
imul eax, eax, 0x34
add edx, ecx
lea eax, [eax + edx + 0x108c]
jmp 0x4525ba
mov ecx, dword [edi + 0x3c]
mov edx, dword [0x85ff50]
mov edx, dword [edx + 0x34]
and ecx, 0xffff
and eax, 0x7fff
lea ecx, [ecx + ecx*2]
mov ecx, dword [edx + ecx*4 + 8]
movsx edx, ax
movsx eax, word [ecx + 0x1f2]
imul edx, edx, 0x34
add edx, ecx
add eax, edx
mov ecx, dword [eax]
fld dword [esp + 0x34]
cmp ecx, ebx
fld dword [esp + 0x38]
fld dword [esp + 0x3c]
je 0x4525e4
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x34]
fmul dword [eax]
fld dword [esp + 0x38]
fmul dword [eax]
fld dword [esp + 0x3c]
fmul dword [eax]
fld st(0)
fmul dword [eax + 0x1c]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax + 4]
faddp st(1)
fadd dword [eax + 0x28]
fstp dword [esp + 0x84]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 8]
faddp st(1)
fadd dword [eax + 0x2c]
fstp dword [esp + 0x88]
fmul dword [eax + 0x24]
fxch st(1)
fmul dword [eax + 0x18]
faddp st(1)
fxch st(1)
fmul dword [eax + 0xc]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x8c]
mov ecx, dword [eax]
cmp ecx, ebx
fld dword [esp + 0x44]
fmul dword [eax + 0x10]
fld dword [esp + 0x48]
fmul dword [eax + 0x1c]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x98]
fld dword [esp + 0x44]
fmul dword [eax + 0x14]
fld dword [esp + 0x48]
fmul dword [eax + 0x20]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x44]
fmul dword [eax + 0x18]
fld dword [esp + 0x48]
fmul dword [eax + 0x24]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax + 0xc]
faddp st(1)
fstp dword [esp + 0xa0]
fld dword [esp + 0x4c]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
je 0x4526c3
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x4c]
fmul dword [eax]
fld dword [esp + 0x50]
fmul dword [eax]
fld dword [esp + 0x54]
fmul dword [eax]
fld st(0)
fmul dword [eax + 0x1c]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax + 4]
faddp st(1)
fstp dword [esp + 0xa8]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0xac]
fmul dword [eax + 0x24]
fxch st(1)
fmul dword [eax + 0x18]
faddp st(1)
fxch st(1)
fmul dword [eax + 0xc]
faddp st(1)
fstp dword [esp + 0xb0]
jmp 0x452774
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
movsx eax, word [ebp]
cmp eax, 3
ja case.default.0x45277d
jmp dword [eax*4 + 0x452b20]
mov byte [esp + 0x13], 1
jmp 0x4527d1
lea eax, [edi + 0x10]
push 0
push eax
lea ebx, [esp + 0x8c]
call fcn.0053ee60
add esp, 8
neg al
sbb al, al
inc al
mov byte [esp + 0x13], al
jmp 0x4527c9
lea eax, [edi + 0x10]
push 0
push eax
lea ebx, [esp + 0x8c]
call fcn.0053ee60
add esp, 8
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
test al, al
je 0x452abe
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x24], eax
test byte [ebp + 0x64], 1
je 0x45282a
mov si, word [esi + 2]
cmp si, 0xffff
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x28], ecx
jne 0x452800
mov word [esp + 0x2c], si
jmp 0x45280b
mov byte [esp + 0x13], 0
jmp 0x452abe
and esi, 0x7fff
mov word [esp + 0x2c], si
mov edx, dword [0x696714]
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x5c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x60], edx
jmp 0x4528e9
mov eax, dword [edi + 0x34]
test eax, eax
je 0x452849
mov ecx, dword [edi + 0x30]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x60]
push ecx
call eax
add esp, 0xc
jmp 0x452863
mov edx, dword [0x696714]
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x5c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x60], edx
fld dword [edi + 0x24]
mov eax, dword [esp + 0x84]
fmul dword [0x672b00]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
fadd dword [esp + 0xa8]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x9c]
fstp dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
fld dword [edi + 0x28]
mov edx, dword [esp + 0xa0]
fmul dword [0x672b00]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fadd dword [esp + 0xac]
mov dword [esp + 0x48], edx
fstp dword [esp + 0x50]
fld dword [edi + 0x2c]
fmul dword [0x672b00]
fadd dword [esp + 0xb0]
fstp dword [esp + 0x54]
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + 0xa0]
mov edi, dword [ebp + 0xe4]
mov esi, dword [ebp + 0xe0]
mov ebx, dword [esp + 0xe0]
push eax
push ecx
push 0x719bfc
mov edx, 9
call fcn.004513f0
fstp dword [esp + 0x78]
mov edx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x90]
mov edi, dword [ebp + 0xe4]
mov esi, dword [ebp + 0xe0]
push edx
push eax
push 0x719bfc
mov edx, 3
call fcn.004513f0
fstp dword [esp + 0x80]
mov al, byte [ebp + 0x64]
add esp, 0x18
test al, 2
mov eax, dword [0x719bfc]
je 0x45298b
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], ecx
mov dword [0x719bfc], eax
fild dword [esp + 0x14]
fmul dword [0x672bbc]
fmul dword [0x672c58]
fstp dword [esp + 0x64]
jmp 0x452993
mov dword [esp + 0x64], 0
mov ecx, dword [ebp + 0xe0]
mov edx, 0x800
and ecx, edx
jne 0x4529d6
test dword [ebp + 0xe4], edx
jne 0x4529d6
mov esi, dword [esp + 0xe0]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
shr edx, 0x10
mov dword [esp + 0x14], edx
mov dword [0x719bfc], eax
fild dword [esp + 0x14]
fmul dword [0x672bbc]
jmp 0x4529f7
test ecx, ecx
fld dword [0x672afc]
mov esi, dword [esp + 0xe0]
je 0x4529ec
fstp st(0)
fld dword [esi + 0x44]
test dword [ebp + 0xe4], edx
je 0x4529f7
fmul dword [esi + 0x48]
mov ebx, dword [ebp + 0x64]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov edx, ebx
shr edx, 3
push eax
and edx, 3
push edx
lea edx, [esp + 0x7c]
lea eax, [ebp + 0xc4]
lea ecx, [ebp + 0xb4]
push edx
call fcn.0043f6a0
fld dword [0x672afc]
fsub dword [esp + 0x20]
add esp, 0xc
test bl, 4
fmul dword [ebp + 0xb0]
fld dword [esp + 0x14]
fmul dword [ebp + 0xc0]
faddp st(1)
fstp dword [esp + 0x70]
je 0x452a6b
fld dword [esp + 0x74]
fmul dword [esi + 0x18]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul dword [esi + 0x1c]
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fmul dword [esi + 0x20]
fstp dword [esp + 0x7c]
mov ax, word [esi + 0x4c]
mov ecx, dword [esp + 0x20]
mov word [esp + 0x2e], ax
mov ax, word [ecx + 2]
cmp ax, 0xffff
je 0x452a8b
test ah, ah
mov byte [esp + 0x30], 1
js 0x452a90
mov byte [esp + 0x30], 0
mov ax, word [ebp + 4]
cmp ax, 2
sete dl
cmp ax, 1
sete al
lea edi, [esp + 0x24]
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], al
call fcn.004558a0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xe0]
dec dword [esp + 0x18]
jne 0x4522d4
xor ecx, ecx
mov cx, word [ebp + 4]
lea edx, [esp + 0x94]
push ecx
push edx
push edi
call fcn.004532e0
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
jne 0x45229e
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xa4]
inc eax
movsx ecx, ax
mov dword [esp + 0xa4], eax
cmp ecx, dword [edx + 0x38]
jl 0x45217f
pop ebp
pop ebx
mov eax, dword [esp + 0x78]
mov dword [edi + 0x58], eax
pop edi
pop esi
add esp, 0xcc
ret