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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140124080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r11d, ecx
mov dword [rsp + 0x2c], ecx
mov r13, qword [0x140768af0]
lea r15, [r13 + 0x5d80]
xor r8d, r8d
test ecx, ecx
je 0x14002929b
mov edx, ecx
mov rcx, r15
call fcn.140006e30
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002968d
mov byte [rsp + 0x20], 0
mov r12d, dword [rax + 0xc4]
shl r12d, 0x1d
sar r12d, 0x1d
mov eax, dword [rax + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
mov dword [rsp + 0x28], eax
xor r8d, r8d
jmp 0x1400292af
mov rbx, r8
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
mov r12d, r8d
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], r12d
mov esi, r8d
mov dword [rsp + 0x3c], r8d
mov edi, r8d
mov dword [rsp + 0x38], edi
mov r10, r8
mov qword [rsp + 0x40], r8
mov ebp, r8d
cmp dword [r15], 0
jle 0x140029474
mov r15, r8
mov edx, 1
mov r12d, dword [rsp + 0x20]
nop word [rax + rax]
mov rax, qword [r13 + 0x5d88]
mov r14, qword [r15 + rax + 8]
test r14, r14
je 0x140029450
test r11d, r11d
je 0x140029335
cmp dword [r14], r11d
je 0x140029450
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x140029450
lea rcx, [rax]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140029320
cmp dword [rcx], r11d
jne 0x140029450
mov eax, dword [r14 + 0x10]
shr eax, 0xb
test al, 1
movzx r12d, r12b
cmovne r12d, edx
test r11d, r11d
je 0x140029381
mov edx, r8d
cmp dword [r13 + 0x5d90], 0
jle 0x140029381
mov rcx, r8
nop dword [rax + rax]
mov rax, qword [r13 + 0x5d98]
cmp qword [rax + rcx + 0x10], r14
jne 0x140029372
mov dword [rax + rcx], r8d
inc edx
add rcx, 0x40
cmp edx, dword [r13 + 0x5d90]
jl 0x140029360
test rbx, rbx
je 0x1400293a0
mov rdx, r14
mov rcx, rbx
call fcn.140023f50
mov edx, dword [rbx]
mov ecx, dword [r14]
call fcn.14002a170
mov r10, qword [rsp + 0x40]
cmp edi, esi
jne 0x140029436
lea ebx, [rdi + 1]
test esi, esi
je 0x1400293ba
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1400293bf
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, esi
jle 0x140029431
mov rax, qword [0x140768af0]
test rax, rax
je 0x1400293da
inc dword [rax + 0xfc]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140029423
movsxd r8, edi
shl r8, 3
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x140768af0]
test rdx, rdx
je 0x140029418
dec dword [rdx + 0xfc]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r10, rsi
mov qword [rsp + 0x40], rsi
mov esi, ebx
mov dword [rsp + 0x3c], ebx
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
mov qword [r10 + rax*8], r14
inc edi
mov dword [rsp + 0x38], edi
mov r11d, dword [rsp + 0x2c]
xor r8d, r8d
mov edx, 1
inc ebp
add r15, 0x10
cmp ebp, dword [r13 + 0x5d80]
jl 0x1400292f0
mov dword [rsp + 0x20], r12d
mov r12d, dword [rsp + 0x24]
lea r15, [r13 + 0x5d80]
test rbx, rbx
je 0x1400294a2
mov ecx, dword [rsp + 0x28]
lea ecx, [rcx*8]
mov edx, r12d
xor edx, dword [rbx + 0xc4]
and edx, 0xffffffc0
mov eax, ecx
xor eax, r12d
and eax, 0xffffffc7
xor edx, eax
xor edx, ecx
mov dword [rbx + 0xc4], edx
mov rcx, qword [r13 + 0x5df0]
lea rax, [rcx + 4]
xor r12d, r12d
mov r9d, r12d
test rcx, rcx
cmovne r9, rax
test r9, r9
je 0x140029516
nop
mov r8d, dword [r9 + 0x14]
test r8d, r8d
je 0x1400294eb
mov edx, r12d
test edi, edi
jle 0x1400294eb
mov rcx, r10
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x1400294e7
inc edx
add rcx, 8
cmp edx, edi
jl 0x1400294d3
jmp 0x1400294eb
mov dword [r9 + 0x14], r11d
movsxd r8, dword [r9 - 4]
add r8, r9
movsxd rcx, dword [r13 + 0x5de8]
mov rdx, qword [r13 + 0x5df0]
add rdx, 4
add rdx, rcx
mov r9, r12
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400294c0
cmp edi, 1
jle 0x14002953a
movsxd rdx, edi
cmp rdx, 1
jbe 0x14002953a
lea r9, [0x140022610]
mov r8d, 8
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov r14, qword [rsp + 0x40]
test edi, edi
jle 0x1400295f1
mov rsi, r14
nop word [rax + rax]
mov rbx, qword [rsi]
test byte [r13 + 0x5ea4], 0x40
je 0x14002956b
mov edx, dword [rbx]
lea rcx, str._docking__DockContextRemoveNode_0x_08X_n
call fcn.14002af30
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14002957e
mov qword [rax + 0x468], r12
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400295aa
mov ecx, reloc.WLDAP32.dll_Ordinal_32
nop dword [rax]
cmp rcx, 0x30
jge 0x1400295aa
cmp qword [rdx + rcx], rbx
jne 0x1400295a4
mov rax, qword [rbx + 0x18]
mov qword [rcx + rax], r12
add rcx, 8
jmp 0x140029590
xor r8d, r8d
mov edx, dword [rbx]
lea rcx, [r13 + 0x5d80]
call fcn.140006f30
mov rcx, rbx
call fcn.1400238a0
mov rax, qword [0x140768af0]
test rax, rax
je 0x1400295d5
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rsi, 8
sub rdi, 1
jne 0x140029550
mov rbx, qword [rsp + 0x30]
cmp dword [rsp + 0x2c], r12d
jne 0x14002964b
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x140029620
mov qword [r15], r12
mov rax, qword [0x140768af0]
test rax, rax
je 0x140029616
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 + 8], r12
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14002966c
mov qword [r15 + 0x10], r12
mov rax, qword [0x140768af0]
test rax, rax
je 0x14002963f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 + 0x18], r12
jmp 0x14002966c
cmp byte [rsp + 0x20], r12b
je 0x14002966c
mov qword [rbx + 0x98], rbx
or dword [rbx + 8], 0x800
mov eax, dword [rbx + 0xc]
or eax, dword [rbx + 4]
or eax, dword [rbx + 8]
mov dword [rbx + 0x10], eax
test r14, r14
je 0x14002968d
mov rax, qword [0x140768af0]
test rax, rax
je 0x140029683
dec dword [rax + 0xfc]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400e9640
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret