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

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, rcx
movzx r14d, r8w
mov dword [rsp + 0x50], r14d
shr r8, 0x10
movzx r15d, r8w
mov dword [rsp + 0x48], r15d
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400b17c4
call qword [sym.imp.USER32.dll_GetParent]
cmp dword [rbx + 0x5c], 0
je 0x1400b1b52
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbx + 0x38]
sub eax, 1
je 0x1400b1805
cmp eax, 1
jne 0x1400b181e
mov r15d, dword [rsp + 0x64]
sub r15d, dword [rsp + 0x5c]
mov dword [rsp + 0x48], r15d
mov eax, dword [rbx + 0x50]
lea ecx, [r15 + rax]
mov dword [rbx + 0x58], ecx
jmp 0x1400b181e
mov r14d, dword [rsp + 0x60]
sub r14d, dword [rsp + 0x58]
mov dword [rsp + 0x50], r14d
mov eax, dword [rbx + 0x4c]
lea ecx, [r14 + rax]
mov dword [rbx + 0x54], ecx
xor r12d, r12d
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov esi, r12d
mov dword [rsp + 0x4c], r12d
cmp esi, 3
jge 0x1400b1852
movsxd rax, esi
cmp qword [rbx + rax*8 + 0xa8], r12
jne 0x1400b185b
add esi, 1
mov dword [rsp + 0x4c], esi
jmp 0x1400b1837
test r12d, r12d
je 0x1400b19e6
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.140038b50
nop
nop
lea rcx, [rsp + 0xa0]
call fcn.140039440
mov rdi, rax
test rax, rax
je 0x1400b18de
movsxd rcx, dword [rax + 0x24]
cmp qword [rbx + rcx*8 + 0xa8], 0
je 0x1400b18dc
cmp dword [rax + 0x18], 0
jne 0x1400b18dc
mov rcx, qword [rax]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
add eax, dword [rdi + 8]
add eax, dword [rdi + 0x1c]
cmp eax, dword [rbx + 0x54]
jl 0x1400b18dc
movsxd rax, dword [rdi + 0x24]
cmp dword [rsp + rax*4 + 0x30], 0
jne 0x1400b18dc
movsxd rax, esi
mov rcx, qword [rbx + rax*8 + 0xa8]
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, dword [rdi + 0x1c]
lea edx, [rax + rcx + 5]
movsxd rax, dword [rdi + 0x24]
mov dword [rsp + rax*4 + 0x30], edx
jmp 0x1400b1870
mov edi, r12d
mov dword [rsp + 0x40], r12d
cmp edi, 3
jge 0x1400b191e
movsxd r8, edi
cmp qword [rbx + r8*8 + 0xa8], 0
je 0x1400b1915
mov rax, qword [rbx + r8*8 + 0xa8]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, r12d
cmp dword [rsp + r8*4 + 0x30], edx
setne dl
call qword [rax + 0x30]
add edi, 1
mov dword [rsp + 0x40], edi
jmp 0x1400b18e6
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140038b50
nop
nop
lea rcx, [rsp + 0x88]
call fcn.140039440
mov rdi, rax
test rax, rax
je 0x1400b19cb
movsxd rcx, dword [rax + 0x24]
cmp qword [rbx + rcx*8 + 0xa8], 0
je 0x1400b19c6
cmp dword [rax + 0x18], 0
jne 0x1400b19c6
mov rcx, qword [rax]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
add eax, dword [rdi + 0x1c]
add eax, dword [rdi + 8]
movsxd rcx, dword [rdi + 0x24]
mov edx, dword [rbx + 0x54]
sub edx, dword [rsp + rcx*4 + 0x30]
cmp eax, edx
jb 0x1400b1989
mov rcx, qword [rdi]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x30]
jmp 0x1400b19c6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x30]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp eax, 0xa4324ee
jne 0x1400b19c6
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400b19c6
mov edx, dword [rbx + 0xc8]
cmp edx, dword [rcx + 4]
jne 0x1400b19c6
mov rcx, rbx
call fcn.1400b0ff0
jmp 0x1400b1930
lea rcx, [rsp + 0x88]
call fcn.140038b70
nop
lea rcx, [rsp + 0xa0]
call fcn.140038b70
mov dword [rsp + 0x44], r12d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140038b50
nop
nop
nop
lea rcx, [rsp + 0x68]
call fcn.140039440
test rax, rax
je 0x1400b1a20
cmp dword [rax + 0x18], 1
jne 0x1400b1a1e
add r12d, 1
mov dword [rsp + 0x44], r12d
jmp 0x1400b1a00
test r12d, r12d
jle 0x1400b1b47
mov ecx, r12d
call qword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov r13, rax
test rax, rax
je 0x1400b1b47
lea rcx, [rsp + 0x68]
call fcn.140038c40
nop
nop
lea rcx, [rsp + 0x68]
call fcn.140039440
mov rdi, rax
test rax, rax
je 0x1400b1b33
cmp dword [rax + 0x18], 1
jne 0x1400b1b2e
lea rdx, [rsp + 0x30]
mov ecx, dword [rax + 8]
mov dword [rdx], ecx
mov ecx, dword [rax + 0xc]
mov dword [rdx + 4], ecx
mov ecx, dword [rax + 0x10]
mov dword [rdx + 8], ecx
mov eax, dword [rax + 0x14]
mov dword [rdx + 0xc], eax
mov ecx, dword [rbx + 0x38]
mov eax, r15d
cmp ecx, 1
cmove eax, r14d
mov esi, dword [rdi + 0x20]
cmp eax, esi
jbe 0x1400b1aad
cmp ecx, 1
jne 0x1400b1aaa
mov esi, dword [rbx + 0x54]
jmp 0x1400b1aad
mov esi, dword [rbx + 0x58]
cmp ecx, 1
jne 0x1400b1ae8
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x10]
sub esi, dword [rdi + 0x1c]
sub esi, eax
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r9d, [rsi + rax]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rsp + 0x34]
mov edx, esi
lea rcx, [rdi + 8]
call qword [sym.imp.USER32.dll_SetRect]
jmp 0x1400b1b1b
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
sub esi, dword [rdi + 0x1c]
sub esi, eax
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add eax, esi
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x38]
mov r8d, esi
mov edx, dword [rsp + 0x30]
lea rcx, [rdi + 8]
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, r13
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
call qword [rax + 0x28]
jmp 0x1400b1a50
mov rcx, r13
call qword [sym.imp.USER32.dll_EndDeferWindowPos]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
lea rcx, [rsp + 0x68]
call fcn.140038b70
nop
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret