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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xa0
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x488]
mov ecx, dword [rsp + 0xc4]
sub ecx, eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + reloc.mfc90u.dll_CWinThread::CommonConstruct]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jl 0x14018200c
mov eax, dword [rsp + 0x2c]
cdq
mov rcx, qword [rsp + 0xb0]
idiv dword [rcx + 0x518]
mov dword [rsp + 0x88], eax
jmp 0x140182017
mov dword [rsp + 0x88], 0xffffffff
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0xc8], 0
je 0x14018203b
mov rax, qword [rsp + 0xc8]
mov dword [rax], 1
cmp dword [rsp + 0x34], 0
jl 0x140182099
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc0]
cmp dword [rsp + 0x34], eax
jge 0x140182099
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x74], rax
mov r8d, dword [rsp + 0x34]
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0xb0]
call fcn.140181e40
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x74]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1401820c6
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x4c], 0xffffffff
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x48]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
jmp 0x140182358
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x40], 0
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0x648]
mov eax, dword [rdx + 0x484]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0xb0]
add rcx, 0x530
call fcn.1401c4550
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x530
call fcn.140154800
cmp dword [rsp + 0x3c], eax
je 0x140182330
mov rcx, qword [rsp + 0xb0]
add rcx, 0x530
lea rdx, [rsp + 0x3c]
call fcn.140154850
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xffffffff
jne 0x14018215f
jmp 0x140182330
mov rcx, qword [rsp + 0xb0]
add rcx, 0x530
mov edx, dword [rsp + 0x50]
call fcn.140152140
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x638], 0xffffffff
jne 0x1401821bb
cmp dword [rsp + 0x28], 0
jne 0x1401821a0
mov dword [rsp + 0x8c], 1
jmp 0x1401821ab
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x90], eax
jmp 0x1401821f5
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x50]
cmp dword [rcx + 0x638], eax
jne 0x1401821dc
mov dword [rsp + 0x94], 1
jmp 0x1401821e7
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x140182245
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x770]
mov ebx, eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x778]
add eax, dword [rsp + 0x58]
add eax, ebx
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x30]
add eax, ecx
cmp dword [rsp + 0xc0], eax
jge 0x140182312
cmp dword [rsp + 0x54], 0
je 0x140182289
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x770]
add eax, dword [rsp + 0x40]
mov dword [rsp + 0x98], eax
jmp 0x140182294
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x30]
add eax, ecx
cmp dword [rsp + 0xc0], eax
jl 0x1401822d5
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0xc8], 0
je 0x1401822d3
mov rax, qword [rsp + 0xc8]
mov dword [rax], 2
jmp 0x140182330
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x140182312
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
add eax, ecx
cmp dword [rsp + 0xc0], eax
jl 0x140182312
cmp qword [rsp + 0xc8], 0
je 0x140182310
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
jmp 0x140182330
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
jmp 0x140182118
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbx
ret