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

Disassembly:
sub rsp, 0x28
sub edx, 0x8fd
je 0x140016fe1
sub edx, 1
je 0x140016fc3
sub edx, 8
je 0x140016f6e
cmp edx, 0x1866
jne 0x140016fb0
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x140016fb0
mov rdx, r8
add rsp, 0x28
jmp 0x14010cdd0
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140016fb0
mov rdx, qword [rax + 8]
lea rcx, [rax + 0x7d0]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x140016fb5
call fcn.140103e90
test rbx, rbx
je 0x140016fab
mov rdx, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.1400fd280
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp 0x140026340
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x140016fb0
mov edx, 0x8fe
add rsp, 0x28
jmp fcn.1400fd9c0
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x140016fb0
mov edx, 0x8fd
add rsp, 0x28
jmp fcn.1400fd9c0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rdx, [rsp + 0x60]
mov rcx, rbx
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [rsp + 0x68]
mov rcx, rbx
mov ebp, dword [rsp + 0x64]
add esi, 0xffffffd8
cmp dword [0x140278eb8], 0
cmovne esi, dword [rsp + 0x60]
add ebp, 0xffffff34
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
cmp qword [rdi + 8], 0
mov rbx, rax
je 0x1400263c0
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x18]
mov edx, dword [rdi + 0xf8]
lea r8, str.STATIC
or edx, dword [0x140278eb8]
xor eax, eax
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov dword [rsp + 0x50], eax
mov rcx, rdi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0xcc
mov dword [rsp + 0x38], 0x28
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0xc0400000
mov dword [rdi + 0xa0], eax
call fcn.1400fd520
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [rdi + 8]
lea rsi, [rdi + 0x108]
mov rax, qword [rsi]
lea r9, [rsp + 0x70]
mov r8d, 2
mov dword [rsp + 0x20], 0x907
mov rcx, rsi
call qword [rax + 0x2e8]
mov rcx, qword [rdi + 0x110]
mov edx, 0x406
mov r9d, 0x640000
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x110]
mov r9d, 0xa
xor r8d, r8d
mov edx, 0x415
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x110]
xor r9d, r9d
mov edx, 0x414
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x310]
cmp qword [rdi + 0xe8], 0
je 0x1400264de
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x338]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400264f2
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [rdi + 8]
lea rdx, [rsp + 0x80]
xorps xmm0, xmm0
mov rcx, rbx
movdqu xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
mov rax, qword [0x140278e80]
xor r9d, r9d
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov edx, 0x402
mov rbx, qword [rax + 0x1d0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 8]
mov edx, 0x405
sub rax, rbx
mov r8d, 1
mov r9, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
mov r11, rsp
push rdi
sub rsp, 0x70
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x10], r12
mov qword [rcx + 0x118], 0xffffffffffffffff
mov ecx, dword [rcx + 0x120]
mov r8d, dword [rdi + 0x54]
mov r12, qword [rdi + 0x108]
sub r12, qword [rdi + 0x100]
mov qword [r11 - 0x18], r13
xor r13d, r13d
lea eax, [r8 + rcx]
mov qword [r11 - 0x20], r14
mov dword [r11 - 0x48], r13d
mov r14, rdx
mov edx, dword [rdi + 0x124]
mov ebp, r13d
mov dword [rsp + 0x34], eax
mov eax, edx
sub eax, ecx
mov dword [r11 - 0x40], r13d
mov dword [rsp + 0x3c], eax
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x20], eax
mov qword [r11 - 0x28], r15
xor r15b, r15b
sar r12, 3
mov dword [r11 - 0x54], r8d
mov dword [r11 - 0x50], r13d
mov dword [rsp + 0x2c], edx
test r12, r12
je 0x14010cf74
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rdi + 0x100]
mov rbx, qword [rbx + rbp*8]
test rbx, rbx
je 0x14010cf58
cmp byte [rdi + 0x130], r13b
je 0x14010ceb4
lea r8, [rdi + 0x131]
mov rdx, rbx
call fcn.14010cfd0
test al, al
je 0x14010cf58
test r15b, r15b
jne 0x14010cecc
mov eax, dword [rbx + 0xa0]
cmp rax, r14
je 0x14010cec9
test r14, r14
jne 0x14010cecc
mov r15b, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x380]
mov ecx, dword [rbx + 0x60]
mov esi, eax
and cl, 0xf
cmp cl, 2
jne 0x14010cf20
sub dword [rsp + 0x20], eax
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x28], eax
test r15b, r15b
je 0x14010cf18
mov r8, qword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [r8 + 0x358]
test r14, r14
je 0x14010cf18
xor edx, edx
mov rcx, rbx
call fcn.140103ff0
add dword [rdi + 0x11c], esi
jmp 0x14010cf58
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], eax
test r15b, r15b
je 0x14010cf4e
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x358]
test r14, r14
je 0x14010cf4e
xor edx, edx
mov rcx, rbx
call fcn.140103ff0
add dword [rsp + 0x30], esi
add dword [rdi + 0x118], esi
inc rbp
cmp rbp, r12
jne 0x14010ce80
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov r13, qword [rsp + 0x60]
test r14, r14
mov r14, qword [rsp + 0x58]
mov r9d, 5
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rdi + 8]
jne 0x14010cfa8
lea rdx, [rdi + 0x50]
xor r8d, r8d
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x70
pop rdi
ret