Function at 0x1400047b0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, r9
mov qword [rsp + 0x68], r9
mov rsi, r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], rdx
mov r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rdx, [rbp]
mov rcx, r9
call qword [sym.imp.GDI32.dll_GetRgnBox]
mov ecx, dword [rbp]
cmp ecx, 0xffffc400
jl 0x1400054b5
mov eax, dword [rbp + 4]
cmp eax, 0xffffc400
jl 0x1400054b5
mov edi, dword [rbp + 8]
sub edi, ecx
mov ebx, dword [rbp + 0xc]
sub ebx, eax
test edi, edi
jle 0x1400054b5
test ebx, ebx
jle 0x1400054b5
cmp edi, 0x2024
jg 0x1400054b5
cmp ebx, 0x2024
jg 0x1400054b5
movzx eax, byte [rbp + 0x2b0]
mov byte [r14 + 0x58], al
xor r13d, r13d
cmp qword [r14 + 0xf0], r13
je 0x140004898
cmp qword [r14 + 0x38], r13
je 0x140004898
cmp qword [r14 + 0x30], r13
je 0x140004898
cmp edi, dword [r14 + 0xc]
jne 0x140004898
cmp ebx, dword [r14 + 0x10]
jne 0x140004898
test al, al
je 0x140004a75
jmp 0x140004a19
mov rcx, r14
call fcn.1400062b0
mov dword [r14 + 0xc], edi
mov dword [r14 + 0x10], ebx
mov eax, edi
shl eax, 5
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [r14 + 0x14], eax
imul eax, ebx
mov dword [r14 + 8], eax
mov qword [rbp - 0x3c], 3
mov qword [rbp - 0x34], 0x20000
mov dword [rbp - 0x58], edi
mov dword [rbp - 0x54], ebx
mov dword [rbp - 0x48], 0x57
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x4c], 1
mov qword [rbp - 0x44], 1
mov rcx, qword [r14 + 0x60]
mov rax, qword [rcx]
lea r9, [r14 + 0x38]
xor r8d, r8d
lea rdx, [rbp - 0x58]
call qword [rax + 0x28]
test eax, eax
js 0x1400054ad
mov dword [rbp - 0x3c], r13d
mov qword [rbp - 0x38], 0x28
mov rcx, qword [r14 + 0x60]
mov rax, qword [rcx]
lea r9, [r14 + 0xf0]
xor r8d, r8d
lea rdx, [rbp - 0x58]
call qword [rax + 0x28]
test eax, eax
js 0x1400054ad
mov qword [rbp + 0x1c], r13
mov dword [rbp + 0x10], 0x57
mov qword [rbp + 0x14], 4
mov rcx, qword [r14 + 0x60]
mov rax, qword [rcx]
lea r9, [r14 + 0xf8]
lea r8, [rbp + 0x10]
mov rdx, qword [r14 + 0xf0]
call qword [rax + 0x48]
test eax, eax
js 0x1400054ad
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [r14 + 0xf8]
lea edx, [r9 + 1]
call qword [rax + 0x108]
movd xmm0, dword [r14 + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x68], xmm0
movd xmm1, dword [r14 + 0x10]
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x64], xmm1
mov dword [rbp - 0x60], r13d
movss xmm1, dword [0x1400c8648]
movss dword [rbp - 0x5c], xmm1
mov qword [rbp - 0x70], r13
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
mov edx, 1
call qword [rax + 0x160]
cmp byte [r14 + 0xe8], r13b
jne 0x1400049f5
mov byte [r14 + 0xe8], 1
mov rcx, r14
call fcn.140004140
cmp byte [rbp + 0x2b8], r13b
je 0x140004a14
mov ecx, dword [r14 + 8]
call fcn.14006ddc4
mov qword [r14 + 0x30], rax
test rax, rax
je 0x1400054ad
mov byte [r14 + 0x58], 1
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
lea r8, [0x1400c4620]
mov rdx, qword [r14 + 0xf8]
call qword [rax + 0x190]
movups xmm0, xmmword [rbp]
movups xmmword [r14 + 0x18], xmm0
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x140004a4c
call qword [sym.imp.GDI32.dll_DeleteObject]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [r14 + 0x28], rax
mov r9d, 5
xor r8d, r8d
mov rdx, r15
mov rcx, rax
call qword [sym.imp.GDI32.dll_CombineRgn]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov ecx, 0x28
call fcn.14007e9c8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x28], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r12, r13
mov qword [rsp + 0x58], r13
mov qword [rbp - 8], r13
cmp qword [rsi + 8], 0
jbe 0x140004bfd
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140004bfd
mov r15, qword [rbx + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
mov r8, rax
lea rdx, [r14 + 0x18]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140004b9b
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rax]
mov dword [rbp - 0x70], ecx
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x7c]
sub ecx, dword [rax + 4]
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x68], r13d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp - 0x64], eax
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.zCrashReport64.dll_Ordinal_16]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 1
mov rsi, qword [r14 + 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x170]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x40]
mov edx, dword [rbp - 0x7c]
sub edx, dword [r14 + 0x1c]
mov r9d, dword [rbp - 0x80]
sub r9d, dword [r14 + 0x18]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rdx, qword [r14 + 0xf0]
mov rcx, rsi
call rdi
mov rsi, qword [rsp + 0x50]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140004bc8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140004bc3
nop
cmp rbx, qword [rax + 0x10]
jne 0x140004bc3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140004bb0
mov rbx, rax
jmp 0x140004bef
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140004bef
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140004be0
cmp rbx, qword [rsi]
jne 0x140004ad1
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
cmp qword [rbx + 8], 0
jbe 0x140004f24
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r13
lea rdx, [rbp - 0x70]
lea rcx, [0x1400054f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
sub rdx, rcx
sar rdx, 3
sub edx, 1
mov r15, qword [rbp - 0x10]
js 0x140004edd
movsxd rdi, edx
mov qword [rsp + 0x50], rdi
nop
mov rsi, qword [rcx + rdi*8]
mov rbx, qword [rbx]
mov rax, qword [rbx + 8]
mov rdx, rbx
cmp byte [rax + 0x19], 0
jne 0x140004c7c
cmp qword [rax + 0x20], rsi
jae 0x140004c70
mov rax, qword [rax + 0x10]
jmp 0x140004c76
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140004c64
cmp byte [rbx + 0x19], 0
jne 0x140004ec9
cmp rsi, qword [rbx + 0x20]
jb 0x140004ec9
cmp rbx, rdx
je 0x140004ec9
mov edx, 0xffffffec
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x140004d21
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.TaskManagerWindow
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140004d21
mov qword [rsp + 0x50], rsi
cmp r15, r12
je 0x140004cfe
mov qword [r15], rsi
add r15, 8
mov qword [rbp - 0x10], r15
jmp 0x140004e1d
lea r8, [rsp + 0x50]
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.140006600
mov r12, qword [rbp - 8]
mov qword [rsp + 0x58], r12
mov r15, qword [rbp - 0x10]
jmp 0x140004e1d
mov r12, qword [rbx + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov r8, rax
lea rdx, [r14 + 0x18]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140004e18
cmp byte [r12 + 0x59], 0
je 0x140004d77
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x68]
mov r8d, dword [r14 + 0x1c]
mov edx, dword [r14 + 0x18]
mov rcx, r14
call fcn.1400043a0
jmp 0x140004e18
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rax]
mov dword [rbp - 0x58], ecx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x7c]
sub ecx, dword [rax + 4]
mov dword [rbp - 0x54], ecx
mov dword [rbp - 0x50], r13d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp - 0x4c], eax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.zCrashReport64.dll_Ordinal_16]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], 1
mov rdi, qword [r14 + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x170]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x40]
mov edx, dword [rbp - 0x7c]
sub edx, dword [r14 + 0x1c]
mov r9d, dword [rbp - 0x80]
sub r9d, dword [r14 + 0x18]
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rdx, qword [r14 + 0xf0]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], r13d
mov rcx, rbx
cmp byte [rax + 0x19], 0
jne 0x140004e5d
mov qword [rbp - 0x58], rax
cmp qword [rax + 0x20], rsi
jae 0x140004e4a
mov dword [rbp - 0x50], r13d
mov rax, qword [rax + 0x10]
jmp 0x140004e57
mov dword [rbp - 0x50], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140004e36
cmp byte [rcx + 0x19], 0
jne 0x140004e69
cmp rsi, qword [rcx + 0x20]
jae 0x140004ec5
movabs rax, 0x666666666666666
cmp qword [rbp - 0x20], rax
je 0x1400054e1
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r13
mov ecx, 0x28
call fcn.14007e9c8
nop
mov qword [rax + 0x20], rsi
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp + 0x18], r13
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp - 0x80], xmm0
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x28]
call fcn.1400068c0
mov rcx, qword [rbp - 0x70]
sub rdi, 1
mov qword [rsp + 0x50], rdi
mov rbx, qword [rsp + 0x60]
jns 0x140004c50
test rcx, rcx
je 0x140004f28
mov rax, qword [rbp - 0x60]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e34c
jmp 0x140004f28
mov r15, qword [rbp - 0x10]
mov rax, qword [rbx + 8]
cmp qword [rbp - 0x20], rax
je 0x140005147
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, rax
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x140005142
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140004f8a
mov rax, qword [rbx + 0x20]
cmp qword [rcx + 0x20], rax
jae 0x140004f7e
mov rcx, qword [rcx + 0x10]
jmp 0x140004f84
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140004f72
cmp byte [rdx + 0x19], 0
jne 0x140004fa4
mov rax, qword [rdx + 0x20]
cmp qword [rbx + 0x20], rax
jb 0x140004fa4
cmp rdx, qword [rbp - 0x28]
jne 0x1400050dd
mov rax, qword [rbx + 0x20]
cmp r8, rax
jne 0x140004fe6
cmp r15, qword [rsp + 0x58]
je 0x140004fc4
mov qword [r15], rax
add r15, 8
mov qword [rbp - 0x10], r15
jmp 0x1400050dd
lea r8, [rbx + 0x20]
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.140006600
mov rax, qword [rbp - 8]
mov qword [rsp + 0x58], rax
mov r15, qword [rbp - 0x10]
jmp 0x1400050d8
mov r12, qword [rbx + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov r8, rax
lea rdx, [r14 + 0x18]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1400050d8
cmp byte [r12 + 0x59], 0
je 0x14000503c
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x68]
mov r8d, dword [r14 + 0x1c]
mov edx, dword [r14 + 0x18]
mov rcx, r14
call fcn.1400043a0
jmp 0x1400050d8
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rax]
mov dword [rbp - 0x58], ecx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x7c]
sub ecx, dword [rax + 4]
mov dword [rbp - 0x54], ecx
mov dword [rbp - 0x50], r13d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp - 0x4c], eax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.zCrashReport64.dll_Ordinal_16]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], 1
mov rsi, qword [r14 + 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x170]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x40]
mov edx, dword [rbp - 0x7c]
sub edx, dword [r14 + 0x1c]
mov r9d, dword [rbp - 0x80]
sub r9d, dword [r14 + 0x18]
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rdx, qword [r14 + 0xf0]
mov rcx, rsi
call rdi
mov r8, qword [rsp + 0x50]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140005109
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140005104
cmp rbx, qword [rax + 0x10]
jne 0x140005104
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400050f1
mov rbx, rax
jmp 0x14000512f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14000512f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140005120
mov rax, qword [rsp + 0x60]
cmp rbx, qword [rax]
jne 0x140004f60
mov rbx, rax
jmp 0x140005147
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x18]
sub r15, rcx
sar r15, 3
test r15, r15
je 0x1400052b8
lea eax, [r15 - 1]
movsxd r12, eax
test eax, eax
js 0x1400052b8
lea r15, [rcx + r12*8]
nop
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
mov r8, rcx
cmp byte [rax + 0x19], 0
jne 0x14000519b
mov rdx, qword [r15]
cmp qword [rax + 0x20], rdx
jae 0x14000518f
mov rax, qword [rax + 0x10]
jmp 0x140005195
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140005183
cmp byte [rcx + 0x19], 0
jne 0x1400052aa
mov rax, qword [rcx + 0x20]
cmp qword [r15], rax
jb 0x1400052aa
cmp rcx, r8
je 0x1400052aa
mov rsi, qword [rcx + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov r8, rax
lea rdx, [r14 + 0x18]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1400052aa
cmp byte [rsi + 0x59], 0
je 0x14000520e
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x68]
mov r8d, dword [r14 + 0x1c]
mov edx, dword [r14 + 0x18]
mov rcx, r14
call fcn.1400043a0
jmp 0x1400052aa
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rax]
mov dword [rbp - 0x58], ecx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov ecx, dword [rbp - 0x7c]
sub ecx, dword [rax + 4]
mov dword [rbp - 0x54], ecx
mov dword [rbp - 0x50], r13d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp - 0x4c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.zCrashReport64.dll_Ordinal_16]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], 1
mov rdi, qword [r14 + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x170]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x40]
mov edx, dword [rbp - 0x7c]
sub edx, dword [r14 + 0x1c]
mov r9d, dword [rbp - 0x80]
sub r9d, dword [r14 + 0x18]
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rdx, qword [r14 + 0xf0]
mov rcx, rdi
call rbx
mov rbx, qword [rsp + 0x60]
sub r15, 8
sub r12, 1
jns 0x140005170
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
mov r8, qword [r14 + 0xf0]
lea r15, [r14 + 0x38]
mov rdx, qword [r15]
call qword [rax + 0x178]
cmp byte [rbp + 0x2b8], 0
jne 0x1400052e4
mov sil, 1
jmp 0x140005419
xor sil, sil
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], r13d
mov r9d, 1
xor r8d, r8d
mov rdx, qword [r15]
call qword [rax + 0x70]
test eax, eax
js 0x140005419
mov rdi, qword [rsp + 0x70]
mov rbx, qword [r14 + 0x30]
test rdi, rdi
je 0x140005408
mov ecx, dword [r14 + 0x14]
movsxd rax, dword [rsp + 0x78]
cmp ecx, eax
jne 0x14000536c
movsxd r8, dword [r14 + 8]
test r8, r8
je 0x140005405
test rbx, rbx
jne 0x14000535c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x140005405
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140005405
mov edx, eax
cmovle edx, ecx
cmp dword [r14 + 0x10], 0
jle 0x140005405
movsxd r15, edx
mov r12, rax
movsxd rsi, ecx
test r15, r15
je 0x1400053ee
test rbx, rbx
jne 0x14000539d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x1400053e8
test rdi, rdi
je 0x1400053b7
cmp rsi, r15
jb 0x1400053b7
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400053ee
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
test rdi, rdi
jne 0x1400053d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x1400053e8
cmp rsi, r15
jae 0x1400053ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
add rdi, r12
movsxd rcx, dword [r14 + 0x14]
add rbx, rcx
inc r13d
cmp r13d, dword [r14 + 0x10]
jl 0x140005382
lea r15, [r14 + 0x38]
mov sil, 1
mov rcx, qword [r14 + 0x68]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [r15]
call qword [rax + 0x78]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140005464
mov rax, qword [rsp + 0x58]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000545e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000545e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e34c
nop
mov rcx, qword [rbp - 0x28]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14000549d
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.140006870
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.14007e34c
cmp byte [rbx + 0x19], 0
je 0x140005472
mov rcx, qword [rbp - 0x28]
mov edx, 0x28
call fcn.14007e34c
movzx eax, sil
jmp 0x1400054b7
mov rcx, r14
call fcn.1400062b0
xor al, al
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x398]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140006b60
nop
int3