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

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 7], rax
lea rax, [rcx + 8]
mov r14, rdx
mov rsi, rcx
test rax, rax
je 0x1402df58e
movsxd r13, dword [rax]
test r13d, r13d
je 0x1402df58e
cmp dword [rcx + 0x118], 0
je 0x1402df160
call fcn.1402df5b0
test eax, eax
js 0x1402df58e
mov dword [rsi + 0x118], 0
mov qword [rsp + 0xf8], rbx
lea rdx, [rbp - 9]
mov qword [rsp + 0xb0], rdi
mov rcx, r14
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r15
movaps xmmword [rsp + 0x90], xmm6
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rsi]
lea rdx, [rbp - 9]
mov rcx, rsi
call qword [rax + 0x20]
movaps xmm0, xmmword [rbp - 9]
xor edx, edx
movdqa xmmword [rbp - 0x29], xmm0
mov r15d, edx
mov qword [rbp - 0x39], rdx
mov edi, edx
mov ebx, edx
mov r11d, edx
test r13d, r13d
jle 0x1402df33a
mov r10d, edx
nop word [rax + rax]
mov r8d, edx
mov r9d, edx
mov rcx, r10
imul rcx, qword [rsi + 0x10]
add rcx, qword [rsi + 0x18]
mov edx, dword [rcx + 0x10]
sub edx, 1
je 0x1402df1fe
sub edx, 1
je 0x1402df1f4
cmp edx, 1
jne 0x1402df1fe
cmp dword [rcx + 0x14], 1
je 0x1402df1fe
mov r8d, dword [rcx + 0x18]
mov edx, dword [rcx + 0x24]
sub edx, 1
je 0x1402df21a
sub edx, 1
je 0x1402df210
cmp edx, 1
jne 0x1402df21a
cmp dword [rcx + 0x28], 1
je 0x1402df21a
mov r9d, dword [rcx + 0x2c]
mov edx, dword [rcx + 0x38]
sub edx, 1
je 0x1402df236
sub edx, 1
je 0x1402df22c
cmp edx, 1
jne 0x1402df236
cmp dword [rcx + 0x3c], 1
je 0x1402df236
add r8d, dword [rcx + 0x40]
mov edx, dword [rcx + 0x4c]
sub edx, 1
je 0x1402df252
sub edx, 1
je 0x1402df248
cmp edx, 1
jne 0x1402df252
cmp dword [rcx + 0x50], 1
je 0x1402df252
add r9d, dword [rcx + 0x54]
cmp dword [rcx + 4], 0
jne 0x1402df276
mov edx, dword [rcx + 0x60]
test dl, 1
je 0x1402df269
mov eax, dword [rcx + 8]
add eax, r8d
add r15d, eax
test dl, 2
je 0x1402df276
mov eax, dword [rcx + 0xc]
add eax, r9d
add edi, eax
mov edx, dword [rcx + 0x60]
test dl, 1
je 0x1402df286
mov eax, dword [rcx + 8]
add eax, r8d
add ebx, eax
test dl, 2
je 0x1402df294
mov eax, dword [rcx + 0xc]
add eax, r9d
add r11d, eax
xor edx, edx
mov qword [rcx + 0x74], rdx
mov qword [rcx + 0x7c], rdx
mov eax, dword [rcx + 0x60]
shr eax, 2
not eax
and eax, 1
mov dword [rcx + 0x90], eax
mov eax, dword [rcx + 0x10]
cmp eax, 1
jne 0x1402df2bf
mov eax, dword [rcx + 0x14]
mov dword [rcx + 0x18], eax
jmp 0x1402df2cd
add eax, 0xfffffffe
cmp eax, 1
ja 0x1402df2cd
mov eax, dword [rcx + 0x18]
mov dword [rcx + 0x1c], eax
mov eax, dword [rcx + 0x24]
cmp eax, 1
jne 0x1402df2dd
mov eax, dword [rcx + 0x28]
mov dword [rcx + 0x2c], eax
jmp 0x1402df2eb
add eax, 0xfffffffe
cmp eax, 1
ja 0x1402df2eb
mov eax, dword [rcx + 0x2c]
mov dword [rcx + 0x30], eax
mov eax, dword [rcx + 0x38]
cmp eax, 1
jne 0x1402df2fb
mov eax, dword [rcx + 0x3c]
mov dword [rcx + 0x40], eax
jmp 0x1402df309
add eax, 0xfffffffe
cmp eax, 1
ja 0x1402df309
mov eax, dword [rcx + 0x40]
mov dword [rcx + 0x44], eax
mov eax, dword [rcx + 0x4c]
cmp eax, 1
jne 0x1402df319
mov eax, dword [rcx + 0x50]
mov dword [rcx + 0x54], eax
jmp 0x1402df327
add eax, 0xfffffffe
cmp eax, 1
ja 0x1402df327
mov eax, dword [rcx + 0x54]
mov dword [rcx + 0x58], eax
inc r10
cmp r10, r13
jl 0x1402df1d0
mov dword [rbp - 0x35], r11d
mov dword [rbp - 0x39], ebx
mov eax, dword [rbp - 0x21]
lea r8, [rbp - 0x29]
cmp eax, r15d
lea rdx, [rbp - 0x39]
mov rcx, rsi
cmovl eax, r15d
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x1d]
cmp eax, edi
cmovl eax, edi
mov dword [rbp - 0x1d], eax
call fcn.1402e0c00
movaps xmm6, xmmword [rbp - 0x29]
nop word [rax + rax]
xor edi, edi
lea r15d, [rdi + 1]
test r13d, r13d
jle 0x1402df48a
nop
mov rbx, rdi
imul rbx, qword [rsi + 0x10]
add rbx, qword [rsi + 0x18]
cmp dword [rbx + 0x74], 0
je 0x1402df3ab
cmp dword [rbx + 0x78], 0
je 0x1402df3ab
cmp dword [rbx + 0x7c], 0
je 0x1402df3ab
cmp dword [rbx + 0x80], 0
jne 0x1402df475
test byte [rbx + 0x60], 0x20
je 0x1402df3bc
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x39], xmm0
jmp 0x1402df3c1
movdqa xmmword [rbp - 0x39], xmm6
cmp dword [rbx + 0x80], 0
jne 0x1402df3dc
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e07e0
cmp dword [rbx + 0x78], 0
jne 0x1402df3f4
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e0430
cmp dword [rbx + 0x7c], 0
jne 0x1402df40c
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e0610
cmp dword [rbx + 0x74], 0
jne 0x1402df424
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e0260
cmp dword [rbx + 0x7c], 0
jne 0x1402df43c
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e0610
cmp dword [rbx + 0x80], 0
jne 0x1402df457
mov r9, rbx
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
call fcn.1402e07e0
cmp dword [rbx + 0x74], 0
je 0x1402df472
cmp dword [rbx + 0x78], 0
je 0x1402df472
cmp dword [rbx + 0x7c], 0
je 0x1402df472
cmp dword [rbx + 0x80], 0
jne 0x1402df475
xor r15d, r15d
inc rdi
cmp rdi, r13
jl 0x1402df380
test r15d, r15d
je 0x1402df370
lea rax, [rsi + 8]
mov rcx, rsi
mov qword [rbp - 0x19], rax
lea rdx, [rbp - 0x19]
mov rax, qword [rsi]
call qword [rax + reloc.SHELL32.dll_ILFindChild]
mov ecx, r13d
call qword [sym.imp.USER32.dll_BeginDeferWindowPos]
movaps xmm6, xmmword [rsp + 0x90]
mov r14, rax
test rax, rax
je 0x1402df567
test r13d, r13d
jle 0x1402df55e
xor edi, edi
lea r15d, [rdi + 0x40]
nop dword [rax + rax]
mov rbx, rdi
imul rbx, qword [rsi + 0x10]
add rbx, qword [rsi + 0x18]
test byte [rbx + 0x60], 8
je 0x1402df4e7
xor r8d, r8d
jmp 0x1402df4f8
cmp dword [rbx + 0x90], 0
mov r8d, 0x80
cmovne r8d, r15d
mov edx, dword [rbx + 0x68]
or r8d, 4
mov ecx, dword [rbx + 0x70]
mov eax, dword [rbx + 0x6c]
sub ecx, edx
mov r9d, dword [rbx + 0x64]
sub eax, r9d
mov dword [rsp + 0x38], r8d
xor r8d, r8d
mov dword [rsp + 0x30], ecx
mov rcx, r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, qword [rbx + 0x88]
call qword [sym.imp.USER32.dll_DeferWindowPos]
mov r14, rax
test rax, rax
je 0x1402df567
test byte [rbx + 0x60], 0x10
je 0x1402df552
mov rcx, qword [rbx + 0x88]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
inc rdi
cmp rdi, r13
jl 0x1402df4d0
mov rcx, r14
call qword [sym.imp.USER32.dll_EndDeferWindowPos]
mov r15, qword [rsp + 0xa0]
mov eax, 1
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
jmp 0x1402df590
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xb8
pop r14
pop r13
pop rsi
pop rbp
ret