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

Disassembly:
mov byte [rsp + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rdi, r9
movzx r15d, dl
mov rbp, rcx
mov rax, qword [rcx + 0x1b0]
cmp dword [rax + 0x8c], 0
jne 0x1400c48ab
lea rcx, [rsp + 0xd0]
mov eax, dword [r8]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + 8]
mov dword [rcx + 8], eax
mov eax, dword [r8 + 0xc]
mov dword [rcx + 0xc], eax
lea rcx, [0x1402730e0]
call fcn.1400a9410
mov rsi, rax
mov ecx, dword [0x1402742fc]
test cl, 1
jne 0x1400c3dfa
or ecx, 1
mov dword [0x1402742fc], ecx
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, rax
call qword [r9 + 0x20]
mov dword [0x1402742f8], eax
mov ecx, dword [0x1402742fc]
test cl, 2
jne 0x1400c3e26
or ecx, 2
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8d, [rdx - 0xb]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742f4], eax
mov ecx, dword [0x1402742fc]
test cl, 4
jne 0x1400c3e50
or ecx, 4
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742f0], eax
mov ecx, dword [0x1402742fc]
test cl, 8
jne 0x1400c3e7c
or ecx, 8
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
mov edx, 4
lea r8d, [rdx - 3]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742ec], eax
mov ecx, dword [0x1402742fc]
test cl, 0x10
jne 0x1400c3ea6
or ecx, 0x10
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742e8], eax
mov ecx, dword [0x1402742fc]
test cl, 0x20
jne 0x1400c3ed2
or ecx, 0x20
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
mov edx, 2
lea r8d, [rdx - 1]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742e4], eax
mov ecx, dword [0x1402742fc]
test cl, 0x40
jne 0x1400c3efc
or ecx, 0x40
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742e0], eax
mov ecx, dword [0x1402742fc]
test cl, cl
js 0x1400c3f22
bts ecx, 7
mov dword [0x1402742fc], ecx
mov rax, qword [rsi]
mov edx, 2
lea r8d, [rdx - 1]
mov rcx, rsi
call qword [rax + 0x20]
mov dword [0x1402742dc], eax
mov byte [rsp + 0x290], 0
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x238]
mov r14d, eax
mov dword [rsp + 0x88], eax
cmp eax, 3
je 0x1400c3f4f
cmp eax, 4
jne 0x1400c419f
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x1e0]
mov ebx, eax
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x1e8]
cmp ebx, 2
sete r13b
cmp eax, 2
sete r12b
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x18]
mov rbx, rax
mov r8, qword [rbp]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [r8 + 0xf0]
mov ecx, dword [rbx + 0x138]
add dword [rsp + 0x50], ecx
mov ecx, dword [rbx + 0x13c]
add dword [rsp + 0x54], ecx
mov ecx, dword [rbx + 0x140]
sub dword [rsp + 0x58], ecx
mov ecx, dword [rbx + 0x144]
sub dword [rsp + 0x5c], ecx
mov rcx, rbp
call fcn.1400c28c0
test eax, eax
je 0x1400c400f
cmp eax, 1
je 0x1400c400f
mov eax, dword [rsp + 0x50]
add eax, dword [rbx + 0x128]
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x54]
add ecx, dword [rbx + 0x12c]
mov dword [rsp + 0x54], ecx
mov edx, dword [rsp + 0x58]
sub edx, dword [rbx + 0x130]
mov dword [rsp + 0x58], edx
mov r8d, dword [rsp + 0x5c]
sub r8d, dword [rbx + 0x134]
mov dword [rsp + 0x5c], r8d
jmp 0x1400c4020
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x54]
mov eax, dword [rsp + 0x50]
add eax, dword [rbx + 0x118]
mov dword [rsp + 0x50], eax
add ecx, dword [rbx + 0x11c]
mov dword [rsp + 0x54], ecx
sub edx, dword [rbx + 0x120]
mov dword [rsp + 0x58], edx
sub r8d, dword [rbx + 0x124]
mov dword [rsp + 0x5c], r8d
cmp r14d, 3
sete bl
mov byte [rsp + 0x290], bl
lea rcx, [rsp + 0x1a0]
call fcn.1400a3770
nop
lea rcx, [rsp + 0xf0]
call fcn.1400a3770
movaps xmm5, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xa0], xmm5
mov r8d, dword [0x1402742ec]
neg r8d
mov edx, dword [0x1402742f0]
neg edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_InflateRect]
test bl, bl
jne 0x1400c40c5
mov r8d, dword [0x1402742e4]
neg r8d
mov edx, dword [0x1402742e8]
neg edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [rsp + 0xac]
mov ecx, edx
mov r8d, dword [0x1402742f4]
sub ecx, r8d
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], ecx
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0xb8], ecx
mov dword [rsp + 0xbc], edx
mov eax, ecx
mov r9d, dword [0x1402742f8]
sub eax, r9d
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0xc8], ecx
mov dword [rsp + 0xcc], edx
test r13b, r13b
je 0x1400c415b
test r12b, r12b
je 0x1400c415b
sub ecx, dword [0x1402742e0]
sub ecx, r9d
mov dword [rsp + 0xb8], ecx
sub edx, dword [0x1402742dc]
sub edx, r8d
mov dword [rsp + 0xcc], edx
test r15b, r15b
je 0x1400c4173
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xd0], xmm0
jmp 0x1400c4184
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xf0]
call fcn.1400a3830
nop
lea rcx, [rsp + 0x1a0]
call fcn.1400a3830
and byte [rdi + 8], 0xfe
movzx eax, r15b
and al, 1
or byte [rdi + 8], al
movzx ecx, byte [rdi + 8]
lea rdx, [rsp + 0xd0]
mov eax, dword [rdx]
mov dword [rdi + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rdi + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rdi + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rdi + 0x1c], eax
test r15b, r15b
je 0x1400c41df
cmp dword [rbp + 0x218], 0
jg 0x1400c41e8
jmp 0x1400c41ec
cmp dword [rbp + 0x21c], 0
jle 0x1400c41ec
mov al, 1
jmp 0x1400c41ee
xor eax, eax
add al, al
xor al, cl
and al, 2
xor al, cl
mov byte [rdi + 8], al
xor eax, eax
mov dword [rdi + 0x90], eax
mov dword [rdi + 0x98], eax
mov dword [rdi + 0x9c], eax
mov dword [rdi + 0xa0], eax
mov dword [rdi + 0xa4], eax
mov dword [rdi + 0xa8], eax
mov dword [rdi + 0x94], 0x17
test byte [rdi + 8], 2
je 0x1400c4296
test r15b, r15b
je 0x1400c4266
mov ecx, dword [rbp + 0x170]
sub ecx, dword [rbp + 0x168]
mov dword [rdi + 0xa0], ecx
add ecx, dword [rbp + 0x218]
mov dword [rdi + 0x9c], ecx
mov eax, dword [rbp + 0x210]
mov dword [rdi + 0xa8], eax
mov dword [rdi + 0xa4], eax
jmp 0x1400c4296
mov ecx, dword [rbp + 0x174]
sub ecx, dword [rbp + 0x16c]
mov dword [rdi + 0xa0], ecx
add ecx, dword [rbp + 0x21c]
mov dword [rdi + 0x9c], ecx
mov eax, dword [rbp + 0x214]
mov dword [rdi + 0xa8], eax
mov dword [rdi + 0xa4], eax
mov r8d, dword [rdi + 0x98]
mov ecx, dword [rdi + 0x9c]
cmp r8d, ecx
jge 0x1400c42f0
cmp ecx, 0x7ffffffe
jge 0x1400c42f0
mov edx, dword [rdi + 0xa0]
test edx, edx
je 0x1400c42f0
mov eax, ecx
sub eax, r8d
cmp edx, eax
jne 0x1400c42f0
lea eax, [rcx + 1]
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa4]
test eax, eax
jle 0x1400c42de
inc eax
mov dword [rdi + 0xa4], eax
mov eax, dword [rdi + 0xa8]
test eax, eax
jle 0x1400c42f0
inc eax
mov dword [rdi + 0xa8], eax
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov ebx, r14d
mov r13d, dword [rdi + 0x9c]
mov r15d, r13d
sub r15d, dword [rdi + 0xa0]
sub r15d, r8d
inc r15d
mov rax, qword [rsi]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x8c]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call qword [rax + 0x460]
test al, al
jne 0x1400c43b7
lea ecx, [r14 + 3]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x90], eax
lea ecx, [r14 + 2]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x8c], eax
lea ecx, [r14 + 0x15]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x74], eax
lea ecx, [r14 + 0x14]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x78], eax
mov r12d, 9
mov dword [rsp + 0x80], r12d
mov ecx, r12d
mov dword [rsp + 0x7c], ecx
jmp 0x1400c43c7
mov ecx, dword [rsp + 0x7c]
mov r12d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x78]
cmp byte [rsp + 0x290], bl
je 0x1400c43e1
mov eax, r14d
mov dword [rsp + 0x78], eax
mov esi, r14d
mov dword [rsp + 0x74], r14d
jmp 0x1400c43e5
mov esi, dword [rsp + 0x74]
cmp byte [rsp + 0x298], bl
jne 0x1400c43f3
mov esi, eax
mov r12d, ecx
test r15d, r15d
jle 0x1400c441d
mov ecx, dword [rdi + 0xa0]
test ecx, ecx
jne 0x1400c440d
mov ebx, esi
test esi, esi
jne 0x1400c441d
lea ebx, [rcx + 6]
jmp 0x1400c441d
cmp r13d, ecx
jle 0x1400c441d
xor edx, edx
mov eax, r13d
div ecx
mov dword [rsp + 0x70], eax
movzx edx, byte [rdi + 8]
test dl, 2
jne 0x1400c442c
mov r12d, r14d
mov ebx, r14d
lea r8, [rsp + 0x60]
mov ecx, dword [rdi + 0x10]
mov dword [r8], ecx
mov eax, dword [rdi + 0x14]
mov dword [r8 + 4], eax
mov eax, dword [rdi + 0x18]
mov dword [r8 + 8], eax
mov eax, dword [rdi + 0x1c]
mov dword [r8 + 0xc], eax
mov eax, ecx
mov dword [rdi + 0x40], ecx
mov eax, dword [rdi + 0x14]
mov dword [rdi + 0x44], eax
mov eax, dword [rdi + 0x18]
mov dword [rdi + 0x48], eax
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x4c], eax
mov eax, ecx
mov dword [rdi + 0x50], ecx
mov eax, dword [rdi + 0x14]
mov dword [rdi + 0x54], eax
mov eax, dword [rdi + 0x18]
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x5c], eax
test dl, 1
je 0x1400c4638
mov edx, esi
neg edx
xor r8d, r8d
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rdi + 0x40]
lea ecx, [rsi + rax]
mov dword [rdi + 0x48], ecx
mov eax, dword [rdi + 0x58]
sub eax, esi
mov dword [rdi + 0x50], eax
mov r9d, dword [rsp + 0x68]
mov ecx, r9d
mov edx, dword [rsp + 0x60]
sub ecx, edx
cmp ecx, 5
jle 0x1400c45a2
test ebx, ebx
jne 0x1400c44e2
cmp dword [rsp + 0x70], r14d
je 0x1400c44e2
mov r8d, r13d
mov edx, dword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
test byte [rdi + 8], 2
je 0x1400c44ef
cmp ebx, r12d
cmovl ebx, r12d
test ebx, ebx
je 0x1400c45a6
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
mov dword [rdi + 0x60], eax
mov eax, dword [rcx + 4]
mov dword [rdi + 0x64], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x68], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x6c], eax
mov eax, dword [rdi + 0x60]
lea ecx, [rbx + rax]
mov dword [rdi + 0x68], ecx
test r15d, r15d
jle 0x1400c45aa
sub r9d, ecx
sub r9d, edx
add r9d, eax
mov rbx, r14
cmovs r9d, ebx
mov r8d, r15d
mov edx, dword [rdi + 0xa8]
mov ecx, r9d
call qword [sym.imp.KERNEL32.dll_MulDiv]
xor r8d, r8d
mov edx, eax
lea rcx, [rdi + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r11d, dword [rdi + 0xa8]
test r11d, r11d
jle 0x1400c457e
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
mov dword [rdi + 0x20], eax
mov eax, dword [rcx + 4]
mov dword [rdi + 0x24], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x2c], eax
mov eax, dword [rdi + 0x60]
mov dword [rdi + 0x28], eax
cmp r11d, r15d
jge 0x1400c45ac
lea rcx, [rsp + 0x60]
mov eax, dword [rcx + 4]
mov dword [rdi + 0x34], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x38], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x3c], eax
mov eax, dword [rdi + 0x68]
mov dword [rdi + 0x30], eax
jmp 0x1400c45ac
xor ebx, ebx
jmp 0x1400c45ac
xor ebx, ebx
jmp 0x1400c45ac
xor ebx, ebx
lea rcx, [rdi + 0x40]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c47d9
lea rcx, [rdi + 0x50]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c47d9
mov eax, dword [rdi + 0x50]
cmp dword [rdi + 0x48], eax
jle 0x1400c47d9
mov ecx, dword [rdi + 0x40]
mov eax, dword [rdi + 0x58]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [rdi + 0x50], ecx
mov dword [rdi + 0x48], ecx
lea rcx, [rdi + 0x20]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [rdi + 0x30]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [rdi + 0x60]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
jmp 0x1400c47d9
mov r8d, esi
neg r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rdi + 0x44]
lea ecx, [rsi + rax]
mov dword [rdi + 0x4c], ecx
mov eax, dword [rdi + 0x5c]
sub eax, esi
mov dword [rdi + 0x54], eax
mov edx, dword [rsp + 0x6c]
mov ecx, edx
mov r8d, dword [rsp + 0x64]
sub ecx, r8d
cmp ecx, 5
jle 0x1400c4754
test ebx, ebx
jne 0x1400c4698
cmp dword [rsp + 0x70], r14d
je 0x1400c4698
mov r8d, r13d
mov edx, dword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov edx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x64]
test byte [rdi + 8], 2
je 0x1400c46a5
cmp ebx, r12d
cmovl ebx, r12d
test ebx, ebx
je 0x1400c4758
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
mov dword [rdi + 0x60], eax
mov eax, dword [rcx + 4]
mov dword [rdi + 0x64], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x68], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x6c], eax
mov eax, dword [rdi + 0x64]
lea ecx, [rbx + rax]
mov dword [rdi + 0x6c], ecx
test r15d, r15d
jle 0x1400c475c
mov ecx, eax
sub ecx, dword [rdi + 0x6c]
sub ecx, r8d
add ecx, edx
mov rbx, r14
cmovs ecx, ebx
mov r8d, r15d
mov edx, dword [rdi + 0xa8]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
xor edx, edx
lea rcx, [rdi + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r11d, dword [rdi + 0xa8]
test r11d, r11d
jle 0x1400c4731
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
mov dword [rdi + 0x20], eax
mov eax, dword [rcx + 4]
mov dword [rdi + 0x24], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x28], eax
mov eax, dword [rdi + 0x64]
mov dword [rdi + 0x2c], eax
cmp r11d, r15d
jge 0x1400c475e
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
mov dword [rdi + 0x30], eax
mov eax, dword [rcx + 8]
mov dword [rdi + 0x38], eax
mov eax, dword [rcx + 0xc]
mov dword [rdi + 0x3c], eax
mov eax, dword [rdi + 0x6c]
mov dword [rdi + 0x34], eax
jmp 0x1400c475e
xor ebx, ebx
jmp 0x1400c475e
xor ebx, ebx
jmp 0x1400c475e
xor ebx, ebx
lea rcx, [rdi + 0x40]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c47d9
lea rcx, [rdi + 0x50]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c47d9
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x4c], eax
jle 0x1400c47d9
mov ecx, dword [rdi + 0x44]
mov eax, dword [rdi + 0x5c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [rdi + 0x54], ecx
mov dword [rdi + 0x4c], ecx
lea rcx, [rdi + 0x20]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [rdi + 0x30]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [rdi + 0x60]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
test byte [rdi + 8], 1
je 0x1400c47fd
lea rcx, [rdi + 0x70]
mov eax, dword [rdi + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x50]
mov r8d, dword [rdi + 0x44]
mov edx, dword [rdi + 0x48]
call qword [sym.imp.USER32.dll_SetRect]
jmp 0x1400c4819
lea rcx, [rdi + 0x70]
mov eax, dword [rdi + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x58]
mov r8d, dword [rdi + 0x4c]
mov edx, dword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetRect]
cmp byte [rsp + 0x2b0], r14b
je 0x1400c4833
mov rax, qword [rbp]
mov rdx, rdi
mov rcx, rbp
call qword [rax + 0x258]
mov eax, dword [rsp + 0x88]
cmp eax, 3
je 0x1400c4844
cmp eax, 4
jne 0x1400c48ab
cmp byte [rsp + 0x290], r14b
jne 0x1400c48ab
cmp byte [rsp + 0x298], r14b
je 0x1400c4882
mov edx, dword [0x1402742e8]
neg edx
xor r8d, r8d
lea rcx, [rdi + 0x40]
call qword [sym.imp.USER32.dll_OffsetRect]
xor r8d, r8d
mov edx, dword [0x1402742e8]
lea rcx, [rdi + 0x50]
call qword [sym.imp.USER32.dll_OffsetRect]
jmp 0x1400c48ab
mov r8d, dword [0x1402742e4]
neg r8d
xor edx, edx
lea rcx, [rdi + 0x40]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r8d, dword [0x1402742e4]
xor edx, edx
lea rcx, [rdi + 0x50]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret