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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x6f9838
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x1c0]
mov dword [esp + 0x4c], vtable.CAutoLock.0
push eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x1c0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], 0
cmp dword [edi + 0x204], 0
je 0x45b6d2
cmp dword [edi + 0x258], 0
je 0x45b6d2
mov edx, dword [edi + 0x38c]
cmp edx, dword [edi + 0x390]
jne 0x45ae08
mov eax, dword [edi + 0x210]
lea esi, [edi + 0x1e4]
mov dword [esp + 0x5c], eax
mov ecx, esi
mov eax, dword [esi + 0x30]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.0042db40
movsd xmm0, qword [0x7920b8]
lea ecx, [edi + 0x238]
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push esi
call fcn.0042e2c0
jmp 0x45b6d2
mov eax, dword [edi + 0x3dc]
test eax, eax
jne 0x45ae1e
mov ecx, dword [edi + 0x3c8]
mov dword [esp + 0x14], ecx
jmp 0x45ae26
mov dword [esp + 0x14], 0
test eax, eax
jne 0x45ae36
mov eax, dword [edi + 0x3cc]
mov dword [esp + 0x24], eax
jmp 0x45ae3e
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x3bc]
mov esi, dword [edi + 0x1dc]
mov ecx, dword [edi + 0x3c0]
sub esi, eax
sub esi, ecx
sub esi, dword [esp + 0x24]
sub esi, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov esi, dword [edi + 0x1e0]
sub esi, eax
mov eax, dword [edi + 0x590]
sub esi, ecx
mov ecx, dword [edi + 0x394]
sub esi, dword [esp + 0x24]
sub esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov esi, ecx
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x45af36
mov ecx, dword [edi + 0x398]
mov eax, dword [edi + 0x39c]
sub eax, ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [edi + 0x588]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov dword [esp + 0x28], esi
mov ecx, dword [edi + 0x390]
sub edx, ecx
mov eax, esi
push edx
sub eax, ecx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [edi + 0x390]
sub esi, edx
mov ecx, dword [edi + 0x38c]
sub ecx, edx
mov dword [esp + 0x20], eax
push ecx
push esi
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [ebp + 8], 0
mov ecx, eax
mov dword [esp + 0x30], ecx
jne 0x45afa2
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x45af24
cmp dword [edi + 0x3b0], ecx
je 0x45b6d2
test eax, eax
jne 0x45afa2
mov eax, dword [esp + 0x20]
cmp dword [edi + 0x3ac], eax
je 0x45b6d2
jmp 0x45afa6
cmp eax, 1
jne 0x45aec2
cmp dword [edi + 0x3a4], 0
je 0x45af73
mov eax, edx
movd xmm1, edx
sub eax, ecx
mov ecx, dword [edi + 0x390]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [edi + 0x588]
subsd xmm1, xmm0
cvttsd2si esi, xmm1
jmp 0x45aec8
mov eax, ecx
mov ecx, dword [edi + 0x390]
sub eax, ecx
movd xmm0, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [edi + 0x588]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
jmp 0x45aec8
mov eax, dword [esp + 0x20]
mov dword [edi + 0x3ac], eax
lea esi, [edi + 0x1e4]
mov dword [edi + 0x3b0], ecx
mov ecx, esi
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.0042db40
movsd xmm0, qword [0x7920b8]
lea ecx, [edi + 0x238]
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push esi
call fcn.0042e2c0
mov eax, dword [edi + 0x378]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x45b1a4
cmp dword [edi + 0x3dc], 1
jne 0x45b1a4
cmp dword [edi + 0x3e0], 0
xorps xmm0, xmm0
movdqa xmmword [esp + 0x54], xmm0
je 0x45b0a1
mov ecx, dword [edi + 0x400]
test ecx, ecx
jne 0x45b06b
mov eax, dword [edi + 0x1dc]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x3bc]
add eax, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], eax
jmp 0x45b126
cmp ecx, 1
jne 0x45b13a
mov eax, dword [eax + 0x2c]
mov ecx, dword [edi + 0x1dc]
cmp eax, ecx
mov dword [esp + 0x54], 0
cmovl ecx, eax
mov eax, dword [edi + 0x3bc]
add eax, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
jmp 0x45b126
mov edx, dword [edi + 0x4c8]
test edx, edx
js 0x45b0fc
cmp dword [edi + 0x500], 0
jl 0x45b0fc
mov ecx, dword [edi + 0x390]
sub edx, ecx
mov eax, dword [edi + 0x38c]
sub eax, ecx
push eax
push edx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x20]
jge 0x45b13a
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi + 0x1e0]
mov eax, dword [edi + 0x3d0]
mov ecx, dword [ecx + 0x30]
cmp ecx, edx
cmovl edx, ecx
add eax, dword [esp + 0x38]
mov dword [esp + 0x60], edx
jmp 0x45b114
mov eax, dword [eax + 0x30]
mov ecx, dword [edi + 0x1e0]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [edi + 0x3d0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x3bc]
add eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0
movdqa xmm0, xmmword [esp + 0x54]
movdqa xmmword [esp + 0x54], xmm0
mov ecx, dword [esp + 0x54]
sub esp, 8
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
sub eax, ecx
movsd xmm0, qword [0x7920b8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
sub eax, edx
movsd qword [esp], xmm0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x40]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push dword [esp + 0x48]
lea eax, [esp + 0x84]
mov dword [esp + 0x84], ecx
push eax
mov ecx, esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x8c], edx
call fcn.0042eaf0
push dword [edi + 0x484]
lea ecx, [edi + 0x470]
call fcn.00458e00
mov dword [esp + 0x10], eax
test eax, eax
je 0x45b1c6
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x18], ecx
jmp 0x45b1ce
mov dword [esp + 0x18], 0
test eax, eax
je 0x45b1db
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
jmp 0x45b1e3
mov dword [esp + 0x20], 0
cmp dword [edi + 0x334], 0
jne 0x45b1f9
cmp dword [edi + 0x338], 0
je 0x45b317
mov eax, dword [edi + 0x468]
xor ecx, ecx
mov esi, dword [edi + 0x464]
mov edx, eax
sub edx, esi
mov dword [esp + 0x30], ecx
add edx, 3
shr edx, 2
cmp esi, eax
cmova edx, ecx
mov dword [esp + 0x38], edx
test edx, edx
je 0x45b311
jmp 0x45b230
mov eax, dword [esi]
mov dword [esp + 0x34], eax
cmp ecx, dword [edi + 0x3f8]
jne 0x45b246
mov eax, dword [edi + 0x338]
jmp 0x45b24c
mov eax, dword [edi + 0x334]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x45b301
mov ecx, dword [edi + 0x390]
mov eax, dword [edi + 0x38c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_MulDiv]
movsd xmm0, qword [0x7920b8]
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub esp, 8
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x3c], eax
cdq
sub eax, edx
movsd qword [esp], xmm0
mov edx, dword [edi + 0x3bc]
sar eax, 1
sub edx, eax
add edx, ecx
mov ecx, dword [esp + 0x34]
add edx, dword [esp + 0x1c]
cmp dword [edi + 0x218], 0
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0x30]
mov edx, dword [edi + 0x204]
mov dword [esp + 0x34], eax
je 0x45b2d4
lea eax, [edi + 0x1f4]
push eax
push 0
push dword [ecx + 0x30]
jmp 0x45b2d9
push 0
push 0
push eax
mov eax, dword [ecx + 0x2c]
push eax
push 0
push 0
push dword [ecx + 0x20]
xor ecx, ecx
push dword [esp + 0x50]
push eax
push 0
push dword [esp + 0x64]
call fcn.0042beb0
mov edx, dword [esp + 0x6c]
add esp, 0x34
mov ecx, dword [esp + 0x30]
inc ecx
add esi, 4
mov dword [esp + 0x30], ecx
cmp ecx, edx
jne 0x45b230
lea esi, [edi + 0x1e4]
cmp dword [edi + 0x4c8], 0
jl 0x45b375
cmp dword [edi + 0x500], 0
jl 0x45b375
push dword [edi + 0x38c]
lea ecx, [edi + 0x4a8]
push dword [edi + 0x390]
push 0
push dword [esp + 0x28]
push 0
push dword [edi + 0x3bc]
push esi
call fcn.00458eb0
push dword [edi + 0x38c]
lea ecx, [edi + 0x4e0]
push dword [edi + 0x390]
push 0
push dword [esp + 0x28]
push 0
push dword [edi + 0x3bc]
push esi
call fcn.00458eb0
cmp dword [esp + 0x10], 0
je 0x45b6cb
mov eax, dword [edi + 0x488]
test eax, eax
jne 0x45b3f5
mov eax, dword [edi + 0x3bc]
lea ecx, [edi + 0x470]
push dword [edi + 0x38c]
add eax, dword [esp + 0x18]
cmp dword [edi + 0x3e0], 0
mov edx, dword [esp + 0x2c]
push dword [edi + 0x390]
mov dword [edi + 0x490], edx
je 0x45b3d7
push dword [esp + 0x48]
mov dword [edi + 0x48c], 6
push 0
push eax
push 0
push esi
call fcn.00458eb0
jmp 0x45b6cb
push 0
push dword [esp + 0x28]
mov dword [edi + 0x48c], 4
push 0
push eax
push esi
call fcn.00458eb0
jmp 0x45b6cb
cmp eax, 1
jne 0x45b6cb
mov eax, dword [edi + 0x38c]
sub eax, dword [edi + 0x390]
mov edx, dword [edi + 0x3a8]
mov dword [esp + 0x1c], eax
cmp edx, 0xffffffff
je 0x45b47c
add eax, edx
cmp dword [edi + 0x3e0], 0
push eax
push edx
je 0x45b44f
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x30]
cmp eax, edx
cmovg edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [edi + 0x3e4], edx
jmp 0x45b480
mov ecx, dword [edi + 0x28]
sub ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x2c]
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [edi + 0x3e4], ecx
jmp 0x45b484
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x3e0], 0
je 0x45b5a4
test eax, eax
je 0x45b4b1
mov eax, dword [edi + 0x1e0]
mov ecx, dword [edi + 0x390]
sub eax, edx
add ecx, dword [esp + 0x28]
imul eax, ecx
cdq
idiv dword [esp + 0x1c]
jmp 0x45b4b3
xor eax, eax
movsd xmm0, qword [0x7920b8]
sub esp, 8
mov dword [esp + 0x24], eax
mov ecx, esi
add eax, dword [esp + 0x1c]
movsd qword [esp], xmm0
push dword [edi + 0x3bc]
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x28]
push eax
push 0
call fcn.0042dd40
mov edx, dword [esp + 0x10]
sub esp, 8
mov ecx, dword [edi + 0x3c0]
movsd xmm0, qword [0x7920b8]
mov eax, dword [edx + 0x30]
movsd qword [esp], xmm0
sub eax, ecx
push ecx
push dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, esi
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push 0
push edx
push eax
push 0
call fcn.0042dd40
mov edx, dword [edi + 0x3bc]
sub esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x3c0]
movsd xmm0, qword [0x7920b8]
movsd qword [esp], xmm0
lea esi, [edx + eax]
mov dword [esp + 0x48], 0
sub eax, ecx
add esi, dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], 0
mov eax, dword [eax + 0x30]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push 0
push dword [esp + 0x2c]
sub eax, esi
push eax
push ecx
push esi
push 0
lea ecx, [edi + 0x1e4]
call fcn.0042ea90
jmp 0x45b6cb
test eax, eax
je 0x45b5c4
mov eax, dword [edi + 0x1dc]
sub eax, ecx
mov ecx, dword [edi + 0x390]
add ecx, dword [esp + 0x28]
imul eax, ecx
cdq
idiv dword [esp + 0x1c]
jmp 0x45b5c6
xor eax, eax
movsd xmm0, qword [0x7920b8]
sub esp, 8
mov dword [esp + 0x24], eax
mov ecx, esi
add eax, dword [esp + 0x1c]
movsd qword [esp], xmm0
push dword [esp + 0x28]
push dword [edi + 0x3bc]
push 0
push 0
push dword [esp + 0x28]
push 0
push eax
call fcn.0042dd40
movsd xmm0, qword [0x7920b8]
sub esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x3c0]
movsd qword [esp], xmm0
push dword [esp + 0x28]
mov eax, dword [edx + 0x2c]
push ecx
sub eax, ecx
push 0
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x30]
push edx
push 0
push eax
call fcn.0042dd40
mov eax, dword [esp + 0x1c]
sub esp, 8
mov edx, dword [edi + 0x3bc]
add eax, edx
add eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x3c0]
sub dword [esp + 0x24], ecx
mov esi, dword [esp + 0x20]
add dword [esp + 0x24], esi
lea esi, [esp + 0x48]
sub dword [esp + 0x24], eax
movsd xmm0, qword [0x7920b8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
movsd qword [esp], xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
push esi
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x78], 0
mov eax, dword [eax + 0x2c]
sub eax, edx
sub eax, ecx
lea ecx, [edi + 0x1e4]
push eax
push 0
push edx
push dword [esp + 0x2c]
lea eax, [esp + 0x84]
push eax
call fcn.0042eaf0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4