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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140262d60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x1400813b8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x60]
cmp qword [rax + rcx + 0x18], rdx
je 0x1400813b8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x60]
cmp qword [rax + rcx + 0x18], rdx
je 0x1400813b8
mov r8d, 0x340b
lea rdx, [0x1401e0a10]
lea rcx, str.node__ParentNode__0__node__ParentNode__ChildNodes_0___node__node__ParentNode__ChildNodes_1___node
call fcn.14017506c
xor eax, eax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x1400813d8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
cmp qword [rcx + rax + 0x18], 0
je 0x140081406
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax + 0x18]
call fcn.140081340
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
cmp qword [rcx + rax + 0x18], 0
je 0x140081434
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax + 0x18]
call fcn.140081340
mov dword [rsp + 0x24], 0
jmp 0x140081448
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x140081692
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call fcn.14008bc70
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
cmp qword [rax + 0x448], rcx
je 0x1400814ac
mov r8d, 0x341f
lea rdx, [0x1401e0b70]
lea rcx, str.window__DockNode__node
call fcn.14017506c
xor eax, eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xa4]
inc eax
mov rcx, qword [rsp + 0x40]
cmp eax, dword [rcx + 0x1c90]
jne 0x1400814d0
mov dword [rsp + 0x30], 1
jmp 0x1400814d8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140081513
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2b8]
inc eax
mov rcx, qword [rsp + 0x40]
cmp eax, dword [rcx + 0x1c90]
jge 0x140081513
mov dword [rsp + 0x34], 1
jmp 0x14008151b
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x20]
or eax, dword [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140081589
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
shr al, 4
and al, 1
movzx eax, al
test eax, eax
jne 0x14008155e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xb4], ecx
jne 0x140081589
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xd8]
test eax, eax
je 0x140081589
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
and eax, 0x100000
test eax, eax
jne 0x140081589
mov dword [rsp + 0x38], 1
jmp 0x140081591
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x20]
or eax, dword [rsp + 0x38]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x429]
shr cl, 2
and cl, 1
movzx ecx, cl
or eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140081655
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x429]
and al, 0xfb
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x429], al
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jne 0x140081632
mov rcx, qword [rsp + 0x60]
call fcn.140054710
movzx eax, al
test eax, eax
jne 0x140081632
mov rcx, qword [rsp + 0x60]
call fcn.140081020
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xc], 1
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140080840
jmp 0x1400817d3
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140080840
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x14008168d
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2c]
not eax
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 8]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x28]
mov eax, dword [rax + 8]
or eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
jmp 0x14008143e
mov rcx, qword [rsp + 0x60]
call fcn.1400548a0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
shr al, 7
and al, 1
movzx eax, al
test eax, eax
je 0x1400816f8
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jne 0x1400816f8
mov eax, dword [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x1400816f8
mov rcx, qword [rsp + 0x60]
call fcn.140054750
movzx eax, al
test eax, eax
jne 0x1400816f8
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
or al, 1
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbc]
and al, 0x7f
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbc], al
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 1
movzx eax, al
test eax, eax
je 0x140081766
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x88], 0
je 0x140081766
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x88]
mov eax, dword [rax + 0x28]
and eax, 0x2000
test eax, eax
je 0x140081766
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 0xfe
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 1
jle 0x140081787
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
btr eax, 0xd
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
jmp 0x1400817b0
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 1
movzx eax, al
test eax, eax
je 0x1400817b0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
btc eax, 0xd
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xbd]
and al, 0xfe
mov rcx, qword [rsp + 0x60]
mov byte [rcx + 0xbd], al
mov rcx, qword [rsp + 0x60]
call fcn.1400817e0
add rsp, 0x58
ret