Function at 0x14001a1e0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov r14, rcx
xor ebx, ebx
mov rcx, qword [rcx]
cmp qword [r14 + 8], rcx
jne 0x14001a265
test rcx, rcx
je 0x14001a24c
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a23c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov eax, 0xffffffff
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140020a70
mov rsi, qword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rbx
mov rdi, qword [rax]
mov qword [rax], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rsi
mov r12, rbx
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
movsxd r15, dword [rdi + 0x3c]
add r15, rdi
mov qword [rsp + 0x78], r15
movzx r13d, word [r15 + 0x14]
add r13, 0x18
add r13, r15
mov qword [rbp - 0x80], r13
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov ecx, 0x36a7
call fcn.14009f198
test rax, rax
je 0x14001ac6e
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x70], rcx
lea rbx, [rcx + 0x3680]
mov qword [rbp - 0x60], rbx
mov r8d, 0x3680
lea rdx, [0x1400abfe0]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x68], rbx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.14000fd40
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001a35e
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac6e
call fcn.14009f1d4
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
call fcn.140022010
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..AsUpdateio
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [0x1400c02b8], rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14001a3eb
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a3e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac6e
call fcn.14009f1d4
test rbx, rbx
jne 0x14001a478
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001a41c
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14001ac10
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001a46e
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a45c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffe
jmp 0x14001a251
lea rcx, [rbp + 0x58]
call fcn.140024770
mov eax, 0x5a4d
cmp word [0x1400abfe0], ax
jne 0x14001a4a6
movsxd r8, dword [0x1400ac01c]
lea rcx, [0x1400abfe0]
add r8, 8
add r8, rcx
jmp 0x14001a4ac
mov r8d, 4
mov r8d, dword [r8]
call fcn.140024e10
test al, al
jne 0x14001a540
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001a4e4
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14001ac10
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001a536
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a524
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffd
jmp 0x14001a251
call fcn.140025d30
test al, al
jne 0x14001a5d5
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001a575
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14001ac10
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001ac5d
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a5b9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffb
jmp 0x14001a251
call fcn.1400256a0
test al, al
jne 0x14001a666
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001a60a
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14001ac10
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001a65c
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a64a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffc
jmp 0x14001a251
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_map_driver_class_std::vector_unsigned_char__class_std::allocator_unsigned_char___::_2::_lambda_1___unsigned_long_long_unsigned___int64___char_const____ptr64__char_const____ptr64_.0
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.140023d10
mov edx, dword [r15 + 0x50]
xor ebx, ebx
test rdx, rdx
je 0x14001a6af
lea rcx, [rsp + 0x58]
call fcn.140023e50
mov r13, qword [rbp - 0x80]
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
mov eax, dword [r15 + 0x54]
test eax, eax
je 0x14001a6c5
mov r8d, eax
mov rdx, rdi
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov rsi, rbx
cmp bx, word [r15 + 6]
jae 0x14001a70a
lea rbx, [r13 + 0x10]
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, r12
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, rdi
test r8d, r8d
je 0x14001a6f9
call sub.VCRUNTIME140.dll_memmove
inc rsi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp rsi, rax
jb 0x14001a6e0
mov esi, dword [r15 + 0x50]
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400c6a9c], eax
jle 0x14001a760
lea rcx, [0x1400c6a9c]
call fcn.14009f2b8
cmp dword [0x1400c6a9c], 0xffffffff
jne 0x14001a760
xor r8d, r8d
lea rdx, str.ExAllocatePool
call fcn.140024190
mov qword [0x1400c69c8], rax
lea rcx, [0x1400c6a9c]
call fcn.14009f24c
mov rdi, qword [0x1400c69c8]
mov eax, dword [rbx]
cmp dword [0x1400c6a48], eax
jle 0x14001a7b6
lea rcx, [0x1400c6a48]
call fcn.14009f2b8
cmp dword [0x1400c6a48], 0xffffffff
jne 0x14001a7b6
lea rcx, [0x1400a2c38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c69f8], rax
lea rcx, [0x1400c6a48]
call fcn.14009f24c
mov rcx, qword [0x1400c02b0]
mov rdx, rdi
call fcn.140010630
mov rax, qword [0x1400c69f8]
mov rdx, rsi
xor ecx, ecx
call rax
mov r15, rax
mov qword [rbp + 0x68], rax
mov rcx, qword [0x1400c02b0]
call fcn.140010830
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x58]
test byte [r13 + 0x16], 1
jne 0x14001a8e6
mov rcx, r12
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
mov r15, rax
mov r8d, 5
lea r9, [rbp + 0x60]
mov dl, 1
mov rcx, rax
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToData]
mov rbx, rax
mov rdi, qword [rbp + 0x68]
sub rdi, qword [r15 + 0x30]
je 0x14001a8e2
mov ecx, dword [rbp + 0x60]
test ecx, ecx
je 0x14001a8e2
lea rsi, [rax + rcx]
cmp rax, rsi
jae 0x14001a8e2
xor r14d, r14d
nop dword [rax + rax]
xor r9d, r9d
mov r8d, dword [rbx]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov r8, rax
mov r10d, dword [rbx + 4]
sub r10d, 8
shr r10d, 1
lea rbx, [rbx + 8]
mov r9d, r14d
je 0x14001a8d5
lea r11, [0x140000000]
movzx edx, word [rbx]
mov ecx, edx
shr ecx, 0xc
cmp ecx, 0xa
ja case.0x14001a898.5
mov ecx, dword [r11 + rcx*4 + 0x1ac78]
add rcx, r11
jmp rcx
and edx, 0xfff
add rdx, r8
mov rax, rdi
shr rax, 0x10
add word [rdx], ax
jmp case.0x14001a898.0
and edx, 0xfff
add rdx, r8
add word [rdx], di
jmp case.0x14001a898.0
and edx, 0xfff
add rdx, r8
add qword [rdx], rdi
inc r9d
add rbx, 2
cmp r9d, r10d
jb 0x14001a880
cmp rbx, rsi
jb 0x14001a850
mov r14, qword [rbp + 0x50]
mov r15, qword [rbp + 0x68]
mov r9d, dword [r13 + 0x50]
mov r8, r12
mov rdx, r15
call fcn.140026cb0
mov ebx, dword [r13 + 0x28]
add rbx, r15
mov edi, dword [r13 + 0x50]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r13d, 4
mov ecx, dword [r13 + rsi]
cmp dword [0x1400c6978], ecx
jle 0x14001a964
lea rcx, [0x1400c6978]
call fcn.14009f2b8
cmp dword [0x1400c6978], 0xffffffff
jne 0x14001a964
lea rcx, [0x1400a2c38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c67a8], rax
lea rcx, [0x1400c6978]
call fcn.14009f24c
mov rcx, qword [0x1400c02b0]
mov rdx, rbx
call fcn.140010630
mov rdx, rdi
mov rcx, r15
call qword [0x1400c67a8]
mov rcx, qword [0x1400c02b0]
call fcn.140010830
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x60], rax
movzx ebx, word [rax + 0x14]
add rbx, 0x3c
xor r12d, r12d
movzx edi, r12w
cmp r12w, word [rax + 6]
jae 0x14001aabf
mov r12d, r13d
add r12, rsi
add rbx, rax
mov r14, rax
nop word [rax + rax]
mov eax, dword [rbx - 0x14]
test eax, eax
je 0x14001aaa6
test dword [rbx], 0x2000000
je 0x14001aaa6
mov r13d, eax
mov esi, dword [rbx - 0x18]
add rsi, r15
mov eax, dword [r12]
cmp dword [0x1400c69d8], eax
jle 0x14001aa23
lea rcx, [0x1400c69d8]
call fcn.14009f2b8
cmp dword [0x1400c69d8], 0xffffffff
jne 0x14001aa23
xor r8d, r8d
lea rdx, str.RtlZeroMemory
call fcn.140024190
mov qword [0x1400c6990], rax
lea rcx, [0x1400c69d8]
call fcn.14009f24c
mov r15, qword [0x1400c6990]
mov eax, dword [r12]
cmp dword [0x1400c6be8], eax
jle 0x14001aa7b
lea rcx, [0x1400c6be8]
call fcn.14009f2b8
cmp dword [0x1400c6be8], 0xffffffff
jne 0x14001aa7b
lea rcx, [0x1400a2c38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c69c0], rax
lea rcx, [0x1400c6be8]
call fcn.14009f24c
mov rcx, qword [0x1400c02b0]
mov rdx, r15
call fcn.140010630
mov rdx, r13
mov rcx, rsi
call qword [0x1400c69c0]
mov rcx, qword [0x1400c02b0]
call fcn.140010830
mov r15, qword [rbp + 0x68]
inc di
add rbx, 0x28
cmp di, word [r14 + 6]
jb 0x14001a9c0
mov r14, qword [rbp + 0x50]
xor r12d, r12d
mov rcx, qword [0x1400c02b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14001aba5
call fcn.140010180
test al, al
je 0x14001aba5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001ab1d
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ab18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac10
call fcn.14009f1d4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ab5a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ab54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac10
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001ab9e
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001ab8e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor eax, eax
jmp 0x14001a251
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001abdd
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001abd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac10
call fcn.14009f1d4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ac1d
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ac17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ac17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f1d4
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001ac5d
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001ac4d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ac67
mov rcx, r8
call fcn.14009f1d4
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov eax, 0xfffffffb
jmp 0x14001a251
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3