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

Disassembly:
mov al, byte [0x695e15]
sub esp, 0xcc
test al, al
je 0x452a39
mov ecx, dword [0x86cff4]
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 [0x66c40c]
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 0x45207f
fld dword [edi + 0x50]
fdiv dword [edi + 0x54]
fstp dword [esp + 0x78]
jmp 0x452087
mov dword [esp + 0x78], 0x3f800000
mov eax, dword [edx + 0x38]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x9c], ecx
jle 0x452a30
push ebx
push ebp
jmp 0x4520b0
mov esi, dword [esp + 0xb4]
jmp 0x4520b0
mov eax, dword [edx + 0x3c]
mov ebp, ecx
imul ebp, ebp, 0xe8
add ebp, eax
mov ax, word [ebp + 8]
test ax, ax
jl 0x452a13
movsx ebx, ax
cmp ebx, dword [esi + 0x28]
jge 0x452a13
mov dl, byte [edi + 2]
mov ax, word [ebp + 2]
shr dl, 6
test dl, 1
je 0x4520eb
cmp ax, 1
jmp 0x4520ef
cmp ax, 2
setne al
test al, al
je 0x452a0c
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.00453310
fmul dword [esp + 0x24]
call fcn.006343a4
mov edx, dword [esp + 0xd0]
push edx
push esi
mov word [esp + 0xd4], ax
call fcn.00453310
fmul dword [esp + 0x2c]
add esp, 0x10
call fcn.006343a4
xor ecx, ecx
mov cx, word [esp + 0xc4]
sub ecx, eax
cmp byte [0x695e15], 1
mov dword [esp + 0x1c], ecx
jne 0x452182
movsx eax, cx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x66c408]
call fcn.006343a4
mov dword [esp + 0x1c], eax
mov ecx, eax
test cx, cx
jle 0x452a0c
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.00453200
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x20], esi
je 0x452a0c
jmp 0x4521c2
mov esi, dword [esp + 0x20]
mov ax, word [esi + 2]
cmp ax, 0xffff
je 0x4521eb
test ah, ah
jns 0x4521eb
movsx ecx, word [edi + 0x4c]
mov edx, dword [0x6ac540]
imul ecx, ecx, 0x1ea0
cmp dword [ecx + edx + 8], 0xffffffff
je 0x4529e8
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 0x45221e
fstp st(0)
fld dword [esp + 0x14]
fmul dword [edi + 0x44]
test cl, cl
jns 0x452225
fmul dword [edi + 0x48]
test ah, 1
fld dword [esp + 0xcc]
fsub dword [esp + 0x14]
je 0x452238
fmul dword [edi + 0x44]
test ch, 1
je 0x452240
fmul dword [edi + 0x48]
mov eax, dword [0x70ba1c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
mov ecx, eax
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x70ba1c], eax
mov edx, eax
movsx eax, word [0x6b1198]
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 [0x6b1194]
fmul dword [0x66c4cc]
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 0x4522e2
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 0x70ba1c
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.00451390
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 0x45242e
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 0x452631
test ah, ah
jns 0x4524ab
movsx edx, word [edi + 0x4c]
mov ecx, dword [0x6ac540]
imul edx, edx, 0x1ea0
and eax, 0x7fff
movsx eax, ax
imul eax, eax, 0x34
add edx, ecx
lea eax, [eax + edx + 0x108c]
jmp 0x4524da
mov ecx, dword [edi + 0x3c]
mov edx, dword [0x851c30]
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 0x452504
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 0x4525e3
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 0x452694
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.0x45269d
jmp dword [eax*4 + 0x452a40]
mov byte [esp + 0x13], 1
jmp 0x4526f1
lea eax, [edi + 0x10]
push 0
push eax
lea ebx, [esp + 0x8c]
call fcn.0053a590
add esp, 8
neg al
sbb al, al
inc al
mov byte [esp + 0x13], al
jmp 0x4526e9
lea eax, [edi + 0x10]
push 0
push eax
lea ebx, [esp + 0x8c]
call fcn.0053a590
add esp, 8
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
test al, al
je 0x4529de
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x24], eax
test byte [ebp + 0x64], 1
je 0x45274a
mov si, word [esi + 2]
cmp si, 0xffff
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x28], ecx
jne 0x452720
mov word [esp + 0x2c], si
jmp 0x45272b
mov byte [esp + 0x13], 0
jmp 0x4529de
and esi, 0x7fff
mov word [esp + 0x2c], si
mov edx, dword [0x690504]
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 0x452809
mov eax, dword [edi + 0x34]
test eax, eax
je 0x452769
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 0x452783
mov edx, dword [0x690504]
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 [0x66c414]
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 [0x66c414]
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 [0x66c414]
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 0x70ba1c
mov edx, 9
call fcn.00451310
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 0x70ba1c
mov edx, 3
call fcn.00451310
fstp dword [esp + 0x80]
mov al, byte [ebp + 0x64]
add esp, 0x18
test al, 2
mov eax, dword [0x70ba1c]
je 0x4528ab
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], ecx
mov dword [0x70ba1c], eax
fild dword [esp + 0x14]
fmul dword [0x66c4cc]
fmul dword [0x66c568]
fstp dword [esp + 0x64]
jmp 0x4528b3
mov dword [esp + 0x64], 0
mov ecx, dword [ebp + 0xe0]
mov edx, 0x800
and ecx, edx
jne 0x4528f6
test dword [ebp + 0xe4], edx
jne 0x4528f6
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 [0x70ba1c], eax
fild dword [esp + 0x14]
fmul dword [0x66c4cc]
jmp 0x452917
test ecx, ecx
fld dword [0x66c410]
mov esi, dword [esp + 0xe0]
je 0x45290c
fstp st(0)
fld dword [esi + 0x44]
test dword [ebp + 0xe4], edx
je 0x452917
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.0043f6b0
fld dword [0x66c410]
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 0x45298b
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 0x4529ab
test ah, ah
mov byte [esp + 0x30], 1
js 0x4529b0
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.004557c0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xe0]
dec dword [esp + 0x18]
jne 0x4521f4
xor ecx, ecx
mov cx, word [ebp + 4]
lea edx, [esp + 0x94]
push ecx
push edx
push edi
call fcn.00453200
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4521be
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 0x45209f
pop ebp
pop ebx
mov eax, dword [esp + 0x78]
mov dword [edi + 0x58], eax
pop edi
pop esi
add esp, 0xcc
ret