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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x64fab1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax + 0x4c]
test al, al
je 0x45df52
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
fstp dword [esp + 0x34]
lea edx, [eax - 0x28]
fld dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
fstp dword [esp + 0x18]
fld dword [0x6872e8]
fstp dword [esp + 0x28]
fld1
fstp dword [esp + 0x38]
fld dword [0x687370]
fstp dword [esp + 0x30]
jle 0x45d54c
sub eax, ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fld qword [0x686838]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x686dc8]
fstp dword [esp + 0x30]
fdivr dword [esp + 0x30]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul qword [0x6867f0]
fstp dword [esp + 0x28]
push 0x4d4310
push 0x481a00
push 2
push 0x10
lea eax, [esp + 0x54]
push eax
call fcn.00624ff3
fld dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x140], eax
fmul qword [0x686830]
fld qword [0x687368]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x48]
fadd st(1)
fstp dword [esp + 0x20]
fadd qword [0x687360]
fstp dword [esp + 0x3c]
fldz
fmul qword [0x686cb8]
fdiv qword [0x686cd0]
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fild dword [esp + 0x40]
fmul st(1)
fsubp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld st(0)
fsubr qword [0x686cb8]
fstp dword [esp + 0x24]
fst dword [esp + 0x1c]
fld dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x45d65d
fld dword [esp + 0x1c]
lea esi, [edi - 4]
call fcn.00629ff0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x20]
fadd dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fstp qword [esp + 0x64]
fld dword [esp + 0x1c]
call fcn.0062a160
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
lea ebx, [esp + 0x78]
fmul dword [esp + 0x3c]
fsubr qword [esp + 0x64]
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fstp dword [esp + 0x78]
fld dword [esp + 0x2c]
fstp dword [esp + 0x7c]
call fcn.00441a80
fld dword [esp + 0x1c]
fadd qword [0x687118]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x45d5e5
fstp st(0)
mov esi, dword [edi]
test esi, esi
je 0x45d6d6
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, esi
sar ecx, 3
je 0x45d6d6
cmp esi, eax
jbe 0x45d678
call fcn.0062492b
cmp esi, dword [edi + 4]
jb 0x45d682
call fcn.0062492b
mov ebx, dword [edi + 4]
cmp dword [edi], ebx
jbe 0x45d68e
call fcn.0062492b
lea edx, [edi - 4]
test edx, edx
lea eax, [edi - 4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
jne 0x45d6ab
call fcn.0062492b
lea eax, [ebx - 8]
cmp eax, dword [edi + 4]
ja 0x45d6b7
cmp eax, dword [edi]
jae 0x45d6bc
call fcn.0062492b
mov eax, dword [esp + 0xb8]
add ebx, 0xfffffff8
cmp ebx, dword [eax + 8]
jb 0x45d6d0
call fcn.0062492b
fld dword [esi + 4]
fstp dword [ebx + 4]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x40]
fld dword [esp + 0x28]
add eax, 1
fld st(0)
add edi, 0x10
cmp eax, 2
fsubp st(2)
fxch st(1)
mov dword [esp + 0x40], eax
fstp dword [esp + 0x20]
fsubr dword [esp + 0x3c]
fstp dword [esp + 0x3c]
jl 0x45d5aa
mov ebx, dword [esp + 0x48]
xor ecx, ecx
cmp ebx, ecx
jne 0x45d715
xor eax, eax
jmp 0x45d71e
mov eax, dword [esp + 0x4c]
sub eax, ebx
sar eax, 3
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x140], 1
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
lea edi, [eax - 1]
mov dword [esp + 0x18], edi
fmul qword [0x687170]
call fcn.0062a660
test eax, eax
jge 0x45d769
mov dword [esp + 0x1c], 0
jmp 0x45d775
cmp eax, edi
mov dword [esp + 0x1c], edi
jg 0x45d775
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
xor edi, edi
test eax, eax
jle 0x45d7ad
lea ecx, [eax - 0x28]
cmp esi, ecx
jle 0x45d7ad
mov ecx, dword [esp + 0x18]
sub esi, eax
add esi, 0x28
imul esi, ecx
mov eax, 0x66666667
imul esi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jns 0x45d7a9
xor edi, edi
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 0xc]
mov cl, 1
mov eax, esi
call fcn.005252b0
xor ecx, ecx
call fcn.00525290
fld dword [esp + 0x30]
call fcn.0062a660
push eax
mov ecx, 0xffffff
lea eax, [esp + 0x68]
call fcn.005029f0
push eax
mov ecx, esi
call fcn.00525260
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cdq
sub eax, edx
sar eax, 1
cdq
mov ecx, 0x32
idiv ecx
mov esi, dword [esp + 0x1c]
cmp edi, esi
mov dword [esp + 0x14], edx
jge 0x45dbce
fild dword [esp + 0x14]
sub esi, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
fadd qword [0x686830]
fdiv qword [0x687130]
fstp dword [esp + 0x20]
test ebx, ebx
fld qword [0x665830]
fld dword [esp + 0x20]
je 0x45d83c
mov eax, dword [esp + 0x4c]
sub eax, ebx
sar eax, 3
cmp edi, eax
jb 0x45d853
fstp st(1)
fstp st(0)
call fcn.0062492b
fld qword [0x665830]
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
test ecx, ecx
lea edx, [ebx + edi*8]
mov dword [esp + 0x24], edx
je 0x45d86f
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x45d88a
fstp st(1)
fstp st(0)
call fcn.0062492b
fld qword [0x665830]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x20]
test ebx, ebx
lea esi, [ecx + edi*8]
je 0x45d8a5
mov eax, dword [esp + 0x4c]
sub eax, ebx
sar eax, 3
lea edx, [edi + 1]
cmp edx, eax
jb 0x45db5f
fstp st(1)
fstp st(0)
call fcn.0062492b
fld dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
fld qword [0x665830]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
fxch st(1)
test ecx, ecx
lea ebx, [ebx + edi*8 + 8]
je 0x45d8da
sub eax, ecx
sar eax, 3
lea edx, [edi + 1]
cmp edx, eax
jb 0x45d8f1
fstp st(1)
fstp st(0)
call fcn.0062492b
fld qword [0x665830]
mov ecx, dword [esp + 0x58]
fld dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fld dword [eax]
lea edx, [ecx + edi*8 + 0xc]
fstp dword [esp + 0x14]
fld dword [eax + 4]
xor eax, eax
fstp dword [esp + 0x18]
mov dword [esp + 0x88], eax
fld dword [esp + 0x14]
mov dword [esp + 0x100], eax
fstp dword [esp + 0x78]
mov dword [esp + 0xb4], eax
fld dword [esp + 0x18]
mov dword [esp + 0xd8], eax
fstp dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xec], eax
fst dword [esp + 0x80]
fldz
fst dword [esp + 0x84]
fld dword [esi]
fstp dword [esp + 0x14]
fld dword [esi + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0xf0]
fld dword [esp + 0x18]
fstp dword [esp + 0xf4]
fxch st(1)
fst dword [esp + 0xf8]
fld1
fst dword [esp + 0xfc]
fld dword [ebx]
fstp dword [esp + 0x14]
fld dword [ebx + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0xa4]
fld dword [esp + 0x18]
fstp dword [esp + 0xa8]
fxch st(1)
fst dword [esp + 0xac]
fxch st(2)
fst dword [esp + 0xb0]
fld dword [esi]
fstp dword [esp + 0x14]
fld dword [esi + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0xc8]
fld dword [esp + 0x18]
fstp dword [esp + 0xcc]
fxch st(2)
fst dword [esp + 0xd0]
fxch st(1)
fst dword [esp + 0xd4]
fld dword [ebx]
fstp dword [esp + 0x14]
fld dword [ebx + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0x90]
fld dword [esp + 0x18]
fstp dword [esp + 0x94]
fxch st(1)
fst dword [esp + 0x98]
fxch st(2)
fstp dword [esp + 0x9c]
fld dword [ecx + edi*8 + 8]
fstp dword [esp + 0x14]
fld dword [edx]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0xdc]
fld dword [esp + 0x18]
fstp dword [esp + 0xe0]
fxch st(1)
fstp dword [esp + 0xe4]
fst dword [esp + 0xe8]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x45db68
fild dword [esp + 0x34]
mov eax, dword [esp + 0x28]
add eax, 0xffffffff
mov dword [esp + 0x14], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x24]
fsubr st(1)
fild dword [esp + 0x14]
fld dword [esp + 0x18]
fld st(0)
fdivp st(2)
fld st(3)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsubr st(3)
fmul st(2)
fsubr st(3)
fstp dword [esp + 0x18]
fidivr dword [esp + 0x28]
fsubr st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsubr st(2)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [esi + 4]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fld dword [esi + 4]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x7c]
fld dword [eax]
fsub dword [esi]
fmulp st(1)
fadd dword [esi]
fstp dword [esp + 0x78]
fld dword [ebx + 4]
fsub dword [edx]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fld dword [edx]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0xa8]
fld dword [ebx]
fsub dword [ecx + edi*8 + 8]
fmul st(2)
fadd dword [ecx + edi*8 + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0xa4]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
fld st(0)
fmul dword [esp + 0x30]
fmul st(1)
fmul st(1)
fmulp st(1)
call fcn.0062a660
push eax
mov ecx, 0xffffff
lea eax, [esp + 0x68]
call fcn.005029f0
mov esi, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00525260
jmp 0x45db6f
mov eax, dword [esp + 0x5c]
jmp 0x45d8c6
mov esi, dword [ebp + 0xc]
fstp st(1)
fstp st(0)
mov edx, dword [0x6b8404]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0xac]
lea edx, [esp + 0xf8]
mov eax, esi
call fcn.00526a90
mov ecx, dword [0x6b8404]
lea eax, [esp + 0xc8]
push eax
push ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x98]
mov eax, esi
call fcn.00526a90
sub dword [esp + 0x28], 1
mov ebx, dword [esp + 0x48]
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x45d821
mov esi, dword [esp + 0x1c]
cmp esi, 0x7a
mov eax, dword [ebp + 0xc]
jge 0x45df26
mov ecx, 1
call fcn.00525290
test ebx, ebx
je 0x45dbf5
mov eax, dword [esp + 0x4c]
sub eax, ebx
sar eax, 3
cmp esi, eax
jb 0x45dbfe
call fcn.0062492b
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
test eax, eax
lea ebx, [ebx + esi*8]
je 0x45dc16
mov ecx, dword [esp + 0x5c]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jb 0x45dc1f
call fcn.0062492b
mov eax, dword [esp + 0x58]
lea esi, [eax + esi*8]
mov eax, dword [0x6b89e0]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
push 0x96
mov ecx, 0xffffff
lea eax, [esp + 0x7c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
call fcn.005029f0
mov edi, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00525260
fld dword [esi + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [esi]
fsub dword [ebx]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
call fcn.00644e4a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov edx, dword [0x6b89e0]
mov eax, dword [edx + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
sub esp, 8
fsubr qword [0x687358]
cdq
sub eax, edx
sar eax, 1
fstp qword [esp]
mov dword [esp + 0x1c], eax
fld dword [esi + 4]
fld qword [0x686830]
fmul st(1), st(0)
fld dword [ebx + 4]
fmul st(1)
faddp st(2)
fild dword [esp + 0x1c]
fsubp st(2)
fxch st(1)
call fcn.0062a660
fld dword [esi]
push eax
fmul st(1)
mov eax, dword [0x6b89e0]
fld dword [ebx]
mov eax, dword [eax + 0x24]
fmulp st(2)
cdq
sub eax, edx
faddp st(1)
sar eax, 1
mov dword [esp + 0x20], eax
fisub dword [esp + 0x20]
call fcn.0062a660
push eax
lea ecx, [esp + 0x74]
call fcn.00526370
fld dword [esi + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [esi]
fsub dword [ebx]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
call fcn.00644e4a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fsubr qword [0x687358]
mov edi, dword [0x6b89e0]
fstp qword [esp]
fld dword [esi + 4]
mov eax, dword [edi + 0x28]
fld qword [0x686e20]
cdq
fmul st(1), st(0)
sub eax, edx
fld dword [ebx + 4]
sar eax, 1
fld qword [0x686e28]
mov dword [esp + 0x1c], eax
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fisub dword [esp + 0x1c]
call fcn.0062a660
fmul dword [esi]
fld dword [ebx]
push eax
mov eax, dword [edi + 0x24]
fmulp st(2)
cdq
sub eax, edx
faddp st(1)
sar eax, 1
mov dword [esp + 0x20], eax
fisub dword [esp + 0x20]
call fcn.0062a660
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x74]
call fcn.00526370
fld dword [esi + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [esi]
fsub dword [ebx]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
call fcn.00644e4a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov edi, dword [0x6b89e0]
mov eax, dword [edi + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
sub esp, 8
fsubr qword [0x687358]
cdq
sub eax, edx
sar eax, 1
fstp qword [esp]
mov dword [esp + 0x1c], eax
fld dword [esi + 4]
fld qword [0x686e28]
fmul st(1), st(0)
fld dword [ebx + 4]
fld qword [0x686e20]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fisub dword [esp + 0x1c]
call fcn.0062a660
fmul dword [esi]
fld dword [ebx]
push eax
mov eax, dword [edi + 0x24]
fmulp st(2)
cdq
sub eax, edx
faddp st(1)
sar eax, 1
mov dword [esp + 0x20], eax
fisub dword [esp + 0x20]
call fcn.0062a660
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x74]
call fcn.00526370
xor ecx, ecx
mov eax, edi
call fcn.00525290
xor cl, cl
call fcn.005252b0
fld dword [esi + 4]
fld qword [0x686e20]
push 0x3c
fmul st(1), st(0)
push 0x3c
fld dword [ebx + 4]
fld qword [0x686e28]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fld qword [0x687290]
fsub st(1), st(0)
fxch st(1)
call fcn.0062a660
fld dword [esi]
fmulp st(2)
push eax
fld dword [ebx]
fmulp st(3)
fxch st(1)
faddp st(2)
fsubp st(1)
call fcn.0062a660
mov edi, dword [0x6b89c8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00526180
fld dword [esi + 4]
fld qword [0x686830]
push 0x3c
fmul st(1), st(0)
push 0x3c
fld dword [ebx + 4]
fmul st(1)
faddp st(2)
fld qword [0x687290]
fsub st(2), st(0)
fxch st(2)
call fcn.0062a660
fld dword [esi]
fmul st(1)
push eax
fld dword [ebx]
fmulp st(2)
faddp st(1)
fsubrp st(1)
call fcn.0062a660
mov edi, dword [0x6b85c8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00526180
fld dword [esi + 4]
fld qword [0x686e28]
push 0x3c
fmul st(1), st(0)
push 0x3c
fld dword [ebx + 4]
fld qword [0x686e20]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fld qword [0x687290]
fsub st(1), st(0)
fxch st(1)
call fcn.0062a660
fld dword [esi]
fmulp st(2)
push eax
fld dword [ebx]
fmulp st(3)
fxch st(1)
faddp st(2)
fsubp st(1)
call fcn.0062a660
mov edi, dword [0x6b8960]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00526180
jmp 0x45df34
xor ecx, ecx
call fcn.00525290
xor cl, cl
call fcn.005252b0
push 0x4d4310
push 2
push 0x10
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x150], 0xffffffff
call fcn.00625a1a
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8