Function at 0x1401d6770
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp], rax
mov rax, qword [rbp + 0x90]
mov rbx, r8
mov rdi, r8
mov qword [rbp - 0x10], r9
shr rdi, 0x20
mov r13, rcx
test dword [rcx], 0x4000
mov r14d, edx
mov ecx, 0xf
mov qword [rbp - 0x30], rbx
mov dword [rsp + 0x70], edx
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x50], rax
je 0x1401d5767
call sym.ErrorReportClient.exe_SfGetSysColor
jmp 0x1401d576d
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [r13 + 0x88], eax
mov rcx, rdi
mov eax, r14d
mov qword [rbp - 0x80], rbx
and eax, 0x4000
xor r14d, r14d
shl eax, 0xe
mov rsi, rbx
test byte [r13 + 4], 1
mov dword [rbp - 0x78], eax
mov eax, dword [rsp + 0x5c]
mov r12d, eax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x68], r14d
je 0x1401d57c3
xor r12d, r12d
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], r12d
mov r14d, eax
mov edi, ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
lea r8d, [rdi + r12]
lea edx, [rsi + r14]
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rsi, qword [rsp + 0x68]
mov qword [r13 + 0x70], rax
mov rdi, rsi
mov eax, dword [rsp + 0x70]
and eax, 0x100
mov qword [rbp - 0x70], rbx
mov dword [rsp + 0x60], eax
mov qword [rbp - 0x68], rsi
je 0x1401d58a5
cmp dword [r13 + 0xe4], 1
jbe 0x1401d58a5
mov r9d, dword [r13 + 4]
mov eax, r9d
mov ecx, dword [r13 + 0x38]
shr eax, 2
and eax, 1
add eax, eax
sub ecx, eax
sub ecx, dword [r13 + 0x50]
and r9d, 1
je 0x1401d583b
mov ecx, dword [r13 + 0x3c]
sub ecx, dword [r13 + 0x54]
mov dword [r13 + 0x94], ecx
cmp ecx, 0x1f
jle 0x1401d58a5
mov r8d, 1
mov rdx, r15
mov rcx, r13
call fcn.1401d4510
test byte [r13 + 4], 1
je 0x1401d5870
mov edx, dword [rbp - 0x6c]
mov ecx, eax
mov r8d, dword [rbp - 0x64]
mov dword [rbp - 0x70], eax
mov dword [rbp - 0x68], eax
jmp 0x1401d5881
mov ecx, dword [rbp - 0x68]
mov edx, eax
mov dword [rbp - 0x6c], eax
mov r8d, eax
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x70]
lea r8d, [rdx + r8*2]
lea edx, [rax + rcx*2]
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
mov qword [r13 + 0x78], rax
mov qword [rbp - 0x30], rbx
mov qword [r13 + 0x48], rbx
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [r13 + 0x70]
test rdx, rdx
jne 0x1401d58c0
xor eax, eax
jmp 0x1401d6175
mov r15, qword [0x14067baf8]
mov rcx, r15
mov qword [rbp - 0x58], r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [r13 + 0x88]
mov rcx, r15
mov qword [rbp - 0x48], rax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x20]
xor edx, edx
add ecx, r14d
mov dword [rbp - 0x18], ecx
xor r8d, r8d
mov ecx, dword [rsp + 0x5c]
mov qword [rsp + 0x38], rdx
add ecx, r12d
mov dword [rsp + 0x30], edx
lea r9d, [rdx + 2]
mov dword [rbp - 0x14], ecx
mov rcx, r15
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x20], rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_ExtTextOutW]
xor eax, eax
mov r14d, 0x80
mov qword [r13 + 0x50], rax
and dword [r13 + 4], 0xffffffef
mov eax, dword [rsp + 0x70]
shr eax, 1
and eax, 0x10
mov dword [rsp + 0x50], r14d
or dword [r13 + 4], eax
mov eax, dword [rsp + 0x70]
and eax, 2
mov dword [rbp - 0x70], eax
je 0x1401d5ae0
lea ecx, [r14 - 0x12]
mov dword [r13 + 0x50], 4
mov dword [r13 + 0x54], 4
call sym.ErrorReportClient.exe_SfGetUIFont
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [r13 + 0x50]
mov rcx, r15
lea r8d, [r14 - 0x7a]
lea rdx, [0x140453858]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov r9d, dword [r13 + 0x50]
mov ecx, dword [r13 + 0x54]
add r9d, 2
mov r8d, dword [r13 + 4]
add ecx, 2
mov dword [r13 + 0x50], r9d
mov dword [r13 + 0x54], ecx
test r8b, 1
je 0x1401d5a4d
mov eax, dword [r13 + 0x11c]
mov rdx, qword [rbp - 0x80]
mov r11d, dword [rsp + 0x5c]
lea r10d, [rdx + rax*2]
mov eax, dword [r13]
and eax, 4
mov dword [r13 + 0x50], r10d
test al, al
je 0x1401d59f1
cmp ecx, r11d
mov r9d, r11d
cmovl r9d, ecx
mov dword [r13 + 0x54], r9d
jmp 0x1401d5a0b
mov eax, r11d
mov r9d, ecx
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x1401d5a0b
mov dword [r13 + 0x54], 0
xor r9d, r9d
cmp dword [rsp + 0x60], 0
jne 0x1401d5a40
mov ecx, dword [rsp + 0x70]
and ecx, r14d
test cl, cl
je 0x1401d5a27
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
jmp 0x1401d5a32
mov eax, dword [r13 + 0xe4]
imul eax, r10d
cmp dword [rsp + 0x58], eax
jge 0x1401d5a40
or r8d, 0x10
mov dword [r13 + 4], r8d
sub r11d, r9d
mov dword [rsp + 0x74], r11d
jmp 0x1401d5ae0
cmp dword [rsp + 0x60], 0
jne 0x1401d5a8f
mov eax, dword [rsp + 0x70]
and eax, r14d
test al, al
je 0x1401d5a73
cmp dword [rsp + 0x5c], ecx
mov ecx, dword [rsp + 0x5c]
jge 0x1401d5a93
or r8d, 0x10
mov dword [r13 + 4], r8d
jmp 0x1401d5a93
mov eax, dword [r13 + 0xe4]
imul eax, ecx
mov ecx, dword [rsp + 0x5c]
cmp ecx, eax
jge 0x1401d5a93
or r8d, 0x10
mov dword [r13 + 4], r8d
jmp 0x1401d5a93
mov ecx, dword [rsp + 0x5c]
mov eax, dword [r13 + 0x11c]
lea ecx, [rcx + rax*2]
mov eax, dword [r13]
and eax, 4
mov dword [r13 + 0x54], ecx
test al, al
je 0x1401d5abd
mov rax, qword [rbp - 0x80]
cmp r9d, eax
cmovge r9d, eax
mov dword [r13 + 0x50], r9d
jmp 0x1401d5ad9
mov eax, dword [rbp - 0x80]
cdq
sub eax, edx
sar eax, 1
cmp r9d, eax
mov rax, qword [rbp - 0x80]
jle 0x1401d5ad9
mov dword [r13 + 0x50], 0
xor r9d, r9d
sub eax, r9d
mov dword [rsp + 0x78], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [r13 + 0x54]
mov rcx, rax
mov edx, dword [r13 + 0x50]
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, r14
xor ecx, ecx
mov qword [r13 + 0x80], rax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [r13 + 4]
mov eax, dword [rsp + 0x78]
mov edx, dword [r13 + 0x38]
dec eax
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x74]
dec eax
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x34], eax
mov eax, ecx
shr eax, 2
and eax, 1
mov dword [rbp - 0x3c], 1
add eax, eax
sub edx, eax
sub edx, dword [r13 + 0x50]
mov dword [rbp - 0x74], edx
and ecx, 1
je 0x1401d5b60
mov edx, dword [r13 + 0x3c]
sub edx, dword [r13 + 0x54]
mov dword [rbp - 0x74], edx
mov dword [r13 + 0x94], edx
test ecx, ecx
je 0x1401d5b77
mov r14d, dword [r13 + 0x54]
inc r14d
mov dword [rsp + 0x60], r14d
mov edx, 0xff0000
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [r13 + 0x108]
cmp ecx, 2
jae 0x1401d5c36
mov rax, qword [r13 + 0x100]
mov r8d, 0xff
test rax, rax
je 0x1401d5bb6
test ecx, ecx
je 0x1401d5bb6
mov r8d, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x50], eax
test byte [r13 + 4], 1
lea rdx, [rbp - 0x40]
mov r9d, 0xf
mov rcx, r15
je 0x1401d5c00
call fcn.1401d4770
mov r14d, dword [rsp + 0x68]
lea rdx, [rbp - 0x40]
add dword [rbp - 0x40], r14d
mov r9d, 0xf
add dword [rbp - 0x38], r14d
mov rcx, r15
mov r8d, dword [rsp + 0x50]
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
call fcn.1401d4770
jmp 0x1401d5f31
call fcn.1401d4a30
mov r14d, dword [rsp + 0x68]
lea rdx, [rbp - 0x40]
add dword [rbp - 0x40], r14d
mov r9d, 0xf
add dword [rbp - 0x38], r14d
mov rcx, r15
mov r8d, dword [rsp + 0x50]
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
call fcn.1401d4a30
jmp 0x1401d5f31
mov eax, dword [rbp - 0x3c]
test byte [r13 + 4], 1
mov edx, dword [rbp - 0x38]
cmovne edx, eax
mov dword [rsp + 0x50], eax
mov dword [rbp - 0x60], edx
lea eax, [rcx - 1]
xor edx, edx
test eax, eax
je 0x1401d5f2c
mov esi, dword [rsp + 0x68]
mov edi, dword [rbp - 0x74]
mov ebx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x110], xmm6
nop dword [rax + rax]
mov r10, qword [r13 + 0x100]
movss xmm6, dword [r13 + 0x98]
mov r14d, edx
add r14, r14
inc edx
mov eax, edx
shl rax, 4
movss xmm0, dword [r10 + r14*8]
comiss xmm6, xmm0
mov dword [rsp + 0x58], edx
mov qword [rbp - 0x20], rax
movss xmm2, dword [rax + r10]
jbe 0x1401d5cac
movaps xmm1, xmm6
jmp 0x1401d5cb9
movss xmm1, dword [r13 + 0x9c]
minss xmm1, xmm0
comiss xmm6, xmm2
ja 0x1401d5ccb
movss xmm6, dword [r13 + 0x9c]
minss xmm6, xmm2
mov rcx, r13
call fcn.1401d4180
movaps xmm1, xmm6
mov dword [rsp + 0x7c], eax
mov rcx, r13
call fcn.1401d4180
test byte [r13 + 4], 1
mov r9d, eax
je 0x1401d5dfd
mov r11d, dword [rbp - 0x80]
mov eax, edi
sub eax, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp r8d, eax
cmovle r8d, eax
mov eax, edi
cmp r8d, r11d
cmovge r8d, r11d
sub eax, r9d
cdq
mov dword [rsp + 0x50], r8d
sub eax, edx
mov dword [rbp - 0x3c], r8d
sar eax, 1
mov edx, r11d
add eax, eax
cmp eax, r11d
cmovl edx, eax
mov dword [rbp - 0x34], edx
cmp r8d, edx
jg 0x1401d5f02
cmp r8d, dword [rbp - 0x60]
mov ecx, 7
mov r8d, dword [r10 + r14*8 + 8]
mov eax, 5
cmovle eax, ecx
mov ecx, eax
or ecx, 8
cmp edx, r11d
lea rdx, [rbp - 0x40]
cmovl ecx, eax
cmp dword [r10 + r14*8 + 4], 0
mov dword [rsp + 0x50], ecx
je 0x1401d5dc2
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov rcx, r15
mov r9d, dword [rax + r10 + 8]
call fcn.1401cd7d0
mov rax, qword [r13 + 0x100]
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x50]
add dword [rbp - 0x40], esi
add dword [rbp - 0x38], esi
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
mov rcx, qword [rbp - 0x20]
mov r8d, dword [rax + r14*8 + 0xc]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rcx + rax + 0xc]
mov rcx, r15
call fcn.1401cd7d0
jmp 0x1401d5ee4
mov r9d, ecx
mov rcx, r15
call fcn.1401d4770
mov rax, qword [r13 + 0x100]
lea rdx, [rbp - 0x40]
add dword [rbp - 0x40], esi
mov rcx, r15
add dword [rbp - 0x38], esi
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
mov r8d, dword [rax + r14*8 + 0xc]
mov r9d, dword [rsp + 0x50]
call fcn.1401d4770
jmp 0x1401d5ee4
mov eax, dword [rsp + 0x7c]
mov ecx, 1
sub eax, edi
mov edx, 1
add eax, ebx
cmp eax, ecx
cmovg ecx, eax
sub r9d, edi
mov dword [rbp - 0x38], ecx
lea eax, [r9 + rbx]
cmp eax, edx
cmovg edx, eax
mov dword [rbp - 0x40], edx
cmp ecx, edx
jl 0x1401d5f02
cmp ecx, dword [rbp - 0x60]
mov eax, 0xe
mov r8d, dword [r10 + r14*8 + 8]
mov ecx, 0xa
cmovl eax, ecx
mov ecx, eax
or ecx, 1
cmp edx, 1
lea rdx, [rbp - 0x40]
cmovg ecx, eax
cmp dword [r10 + r14*8 + 4], 0
mov dword [rsp + 0x7c], ecx
je 0x1401d5eae
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov rcx, r15
mov r9d, dword [rax + r10 + 8]
call fcn.1401cdd80
mov rax, qword [r13 + 0x100]
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x7c]
add dword [rbp - 0x40], esi
add dword [rbp - 0x38], esi
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
mov rcx, qword [rbp - 0x20]
mov r8d, dword [rax + r14*8 + 0xc]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rcx + rax + 0xc]
mov rcx, r15
call fcn.1401cdd80
jmp 0x1401d5ee4
mov r9d, ecx
mov rcx, r15
call fcn.1401d4a30
mov rax, qword [r13 + 0x100]
lea rdx, [rbp - 0x40]
add dword [rbp - 0x40], esi
mov rcx, r15
add dword [rbp - 0x38], esi
add dword [rbp - 0x3c], r12d
add dword [rbp - 0x34], r12d
mov r8d, dword [rax + r14*8 + 0xc]
mov r9d, dword [rsp + 0x7c]
call fcn.1401d4a30
mov eax, esi
mov ecx, r12d
neg eax
neg ecx
add dword [rbp - 0x40], eax
add dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x3c]
add eax, ecx
add dword [rbp - 0x34], ecx
mov dword [rsp + 0x50], eax
mov dword [rbp - 0x3c], eax
mov eax, dword [r13 + 0x108]
mov edx, dword [rsp + 0x58]
dec eax
cmp edx, eax
jb 0x1401d5c70
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x110]
mov r14d, dword [rsp + 0x68]
xor eax, eax
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
mov r8d, 2
mov eax, dword [rsp + 0x78]
mov rcx, r15
mov dword [rbp - 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x78]
or eax, 0xf
mov r9d, eax
mov dword [rbp - 0x78], eax
call sym.ErrorReportClient.exe_SfDrawEdge
mov r9d, dword [rbp - 0x78]
lea rdx, [rbp - 0x30]
add dword [rbp - 0x30], r14d
mov r8d, 2
add dword [rbp - 0x28], r14d
mov rcx, r15
add dword [rbp - 0x2c], r12d
add dword [rbp - 0x24], r12d
call sym.ErrorReportClient.exe_SfDrawEdge
mov ecx, 0x6e
call sym.ErrorReportClient.exe_SfGetUIFont
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [r13 + 0x60]
mov r8d, 1
lea rdx, [0x140451774]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [rsp + 0x70]
mov eax, ecx
and eax, 0x40
test al, al
je 0x1401d6004
cmp dword [rbp - 0x74], 0x1f
jle 0x1401d6004
mov rax, qword [rbp - 0x50]
mov r8d, ecx
mov qword [rsp + 0x40], rax
mov r9, rbx
mov rax, qword [rbp - 0x10]
mov rdx, r15
mov qword [rsp + 0x38], rax
mov rcx, r13
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
call fcn.1401d4e80
cmp dword [rbp - 0x70], 0
je 0x1401d615f
mov edx, dword [r13 + 0x88]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetBkColor]
test byte [r13 + 4], 1
je 0x1401d6143
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov edi, dword [rsp + 0x74]
mov rcx, rax
add edi, dword [rsp + 0x6c]
mov r12, rax
add r14d, dword [rsp + 0x78]
mov r8d, edi
mov edx, r14d
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, rbx
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r14d
mov rbx, rax
xor r8d, r8d
xor eax, eax
xor edx, edx
mov dword [rsp + 0x38], eax
mov rcx, r15
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [rsp + 0x74]
xor r14d, r14d
mov edi, dword [rsp + 0x68]
xor edx, edx
mov r8d, dword [r13 + 0x54]
add edi, edi
mov rcx, qword [rbp - 0x58]
mov r9d, edi
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
mov rbx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [r13 + 0x54]
lea r9d, [r14 + 2]
mov r15, qword [rbp - 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], r14
xor edx, edx
mov dword [rbp - 4], eax
mov rcx, r15
lea rax, [rbp - 0x10]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], edi
call qword [sym.imp.GDI32.dll_ExtTextOutW]
jmp 0x1401d615f
mov r9d, dword [r13 + 0x50]
lea r8d, [r12 + r12]
mov edx, dword [rsp + 0x78]
mov rcx, r15
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call fcn.1401aa240
mov rdx, qword [rbp - 0x48]
mov rcx, r15
mov qword [r13 + 0x68], rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x70], 0
mov rsi, r9
mov edi, r8d
mov r10, rdx
mov rbx, rcx
je 0x1401d67a7
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x38]
mov eax, edi
and eax, 0x80
mov qword [rbx + 0x40], rcx
test al, al
je 0x1401d67fb
mov r8d, dword [rbx + 0xe4]
xor edx, edx
test byte [rbx + 4], 1
je 0x1401d67e1
lea eax, [rcx - 1]
mov ecx, 1
add eax, r8d
div r8d
cmp eax, ecx
cmovg ecx, eax
mov dword [rbx + 0x40], ecx
jmp 0x1401d67fb
shr rcx, 0x20
lea eax, [rcx - 1]
mov ecx, 1
add eax, r8d
div r8d
cmp eax, ecx
cmovg ecx, eax
mov dword [rbx + 0x44], ecx
bt edi, 8
jae 0x1401d680e
mov rdx, r10
mov rcx, rbx
call fcn.1401d6590
jmp 0x1401d6818
mov dword [rbx + 0x11c], 0
mov r9, rsi
mov r8, qword [rbx + 0x40]
mov edx, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1401d5700