Function at 0x140015f80
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 0x140016005
test rcx, rcx
je 0x140015fec
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140015fdc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
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.14001dbe0
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.14002e56c
test rax, rax
je 0x140016a0e
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, [0x140032db0]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x68], rbx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140012db0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400160fe
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400160f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016a0e
call fcn.14002e910
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [0x14003f138]
call fcn.14001ec10
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 [0x1400403c0], rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140016192
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001618d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016a0e
call fcn.14002e910
test rbx, rbx
jne 0x14001621f
sub rsi, rdi
cmp rsi, 0x1000
jb 0x1400161c3
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400169b0
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140016215
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140016203
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffe
jmp 0x140015ff1
lea rcx, [rbp + 0x58]
call fcn.14002aa50
mov eax, 0x5a4d
cmp word [0x140032db0], ax
jne 0x14001624d
movsxd r8, dword [0x140032dec]
lea rcx, [0x140032db0]
add r8, 8
add r8, rcx
jmp 0x140016253
mov r8d, 4
mov r8d, dword [r8]
call fcn.14002b0f0
test al, al
jne 0x1400162e7
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001628b
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400169b0
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400162dd
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400162cb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffd
jmp 0x140015ff1
call fcn.14002bd70
test al, al
jne 0x14001637c
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001631c
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400169b0
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400169fd
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140016360
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffb
jmp 0x140015ff1
call fcn.14002b980
test al, al
jne 0x14001640d
sub rsi, rdi
cmp rsi, 0x1000
jb 0x1400163b1
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400169b0
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140016403
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400163f1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffc
jmp 0x140015ff1
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.140029fc0
mov edx, dword [r15 + 0x50]
xor ebx, ebx
test rdx, rdx
je 0x140016456
lea rcx, [rsp + 0x58]
call fcn.14002a100
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 0x14001646c
mov r8d, eax
mov rdx, rdi
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov rsi, rbx
cmp bx, word [r15 + 6]
jae 0x1400164aa
lea rbx, [r13 + 0x10]
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 0x140016499
call sub.VCRUNTIME140.dll_memmove
inc rsi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp rsi, rax
jb 0x140016480
mov esi, dword [r15 + 0x50]
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14004084c], eax
jle 0x140016500
lea rcx, [0x14004084c]
call fcn.14002e898
cmp dword [0x14004084c], 0xffffffff
jne 0x140016500
xor r8d, r8d
lea rdx, str.ExAllocatePool
call fcn.14002a450
mov qword [0x140040778], rax
lea rcx, [0x14004084c]
call fcn.14002e82c
mov rdi, qword [0x140040778]
mov eax, dword [rbx]
cmp dword [0x1400407f8], eax
jle 0x140016556
lea rcx, [0x1400407f8]
call fcn.14002e898
cmp dword [0x1400407f8], 0xffffffff
jne 0x140016556
lea rcx, [0x140031c08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400407a8], rax
lea rcx, [0x1400407f8]
call fcn.14002e82c
mov rcx, qword [0x1400403b8]
mov rdx, rdi
call fcn.1400136a0
mov rax, qword [0x1400407a8]
mov rdx, rsi
xor ecx, ecx
call rax
mov r15, rax
mov qword [rbp + 0x68], rax
mov rcx, qword [0x1400403b8]
call fcn.140013890
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x58]
test byte [r13 + 0x16], 1
jne 0x140016686
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 0x140016682
mov ecx, dword [rbp + 0x60]
test ecx, ecx
je 0x140016682
lea rsi, [rax + rcx]
cmp rax, rsi
jae 0x140016682
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 0x140016675
lea r11, [0x140000000]
movzx edx, word [rbx]
mov ecx, edx
shr ecx, 0xc
cmp ecx, 0xa
ja case.0x140016638.5
mov ecx, dword [r11 + rcx*4 + 0x16a18]
add rcx, r11
jmp rcx
and edx, 0xfff
add rdx, r8
mov rax, rdi
shr rax, 0x10
add word [rdx], ax
jmp case.0x140016638.0
and edx, 0xfff
add rdx, r8
add word [rdx], di
jmp case.0x140016638.0
and edx, 0xfff
add rdx, r8
add qword [rdx], rdi
inc r9d
add rbx, 2
cmp r9d, r10d
jb 0x140016620
cmp rbx, rsi
jb 0x1400165f0
mov r14, qword [rbp + 0x50]
mov r15, qword [rbp + 0x68]
mov r9d, dword [r13 + 0x50]
mov r8, r12
mov rdx, r15
call fcn.14002ce90
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 [0x140040728], ecx
jle 0x140016704
lea rcx, [0x140040728]
call fcn.14002e898
cmp dword [0x140040728], 0xffffffff
jne 0x140016704
lea rcx, [0x140031c08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140040560], rax
lea rcx, [0x140040728]
call fcn.14002e82c
mov rcx, qword [0x1400403b8]
mov rdx, rbx
call fcn.1400136a0
mov rdx, rdi
mov rcx, r15
call qword [0x140040560]
mov rcx, qword [0x1400403b8]
call fcn.140013890
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 0x14001685f
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 0x140016846
test dword [rbx], 0x2000000
je 0x140016846
mov r13d, eax
mov esi, dword [rbx - 0x18]
add rsi, r15
mov eax, dword [r12]
cmp dword [0x140040788], eax
jle 0x1400167c3
lea rcx, [0x140040788]
call fcn.14002e898
cmp dword [0x140040788], 0xffffffff
jne 0x1400167c3
xor r8d, r8d
lea rdx, str.RtlZeroMemory
call fcn.14002a450
mov qword [0x140040740], rax
lea rcx, [0x140040788]
call fcn.14002e82c
mov r15, qword [0x140040740]
mov eax, dword [r12]
cmp dword [0x140040998], eax
jle 0x14001681b
lea rcx, [0x140040998]
call fcn.14002e898
cmp dword [0x140040998], 0xffffffff
jne 0x14001681b
lea rcx, [0x140031c08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140040770], rax
lea rcx, [0x140040998]
call fcn.14002e82c
mov rcx, qword [0x1400403b8]
mov rdx, r15
call fcn.1400136a0
mov rdx, r13
mov rcx, rsi
call qword [0x140040770]
mov rcx, qword [0x1400403b8]
call fcn.140013890
mov r15, qword [rbp + 0x68]
inc di
add rbx, 0x28
cmp di, word [r14 + 6]
jb 0x140016760
mov r14, qword [rbp + 0x50]
xor r12d, r12d
mov rcx, qword [0x1400403c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140016945
call fcn.140013250
test al, al
je 0x140016945
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400168bd
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400169b0
call fcn.14002e910
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400168fa
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400169b0
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001693e
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001692e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor eax, eax
jmp 0x140015ff1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001697d
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400169b0
call fcn.14002e910
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400169bd
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400169b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400169b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e910
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400169fd
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400169ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016a07
mov rcx, r8
call fcn.14002e910
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov eax, 0xfffffffb
jmp 0x140015ff1
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