Function at 0x140015f00
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 0x140015f85
test rcx, rcx
je 0x140015f6c
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140015f5c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
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.14001db60
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.14002e4ec
test rax, rax
je 0x14001698e
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, [0x140032e10]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x68], rbx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.140012d30
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001607e
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001698e
call fcn.14002e890
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.14001eb90
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 [0x1400403e0], rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140016112
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001610d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001698e
call fcn.14002e890
test rbx, rbx
jne 0x14001619f
sub rsi, rdi
cmp rsi, 0x1000
jb 0x140016143
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140016930
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140016195
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140016183
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffe
jmp 0x140015f71
lea rcx, [rbp + 0x58]
call fcn.14002a9d0
mov eax, 0x5a4d
cmp word [0x140032e10], ax
jne 0x1400161cd
movsxd r8, dword [0x140032e4c]
lea rcx, [0x140032e10]
add r8, 8
add r8, rcx
jmp 0x1400161d3
mov r8d, 4
mov r8d, dword [r8]
call fcn.14002b070
test al, al
jne 0x140016267
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001620b
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140016930
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001625d
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001624b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffd
jmp 0x140015f71
call fcn.14002bcf0
test al, al
jne 0x1400162fc
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14001629c
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140016930
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001697d
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400162e0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffb
jmp 0x140015f71
call fcn.14002b900
test al, al
jne 0x14001638d
sub rsi, rdi
cmp rsi, 0x1000
jb 0x140016331
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140016930
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140016383
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140016371
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov eax, 0xfffffffc
jmp 0x140015f71
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.140029f40
mov edx, dword [r15 + 0x50]
xor ebx, ebx
test rdx, rdx
je 0x1400163d6
lea rcx, [rsp + 0x58]
call fcn.14002a080
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 0x1400163ec
mov r8d, eax
mov rdx, rdi
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov rsi, rbx
cmp bx, word [r15 + 6]
jae 0x14001642a
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 0x140016419
call sub.VCRUNTIME140.dll_memmove
inc rsi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp rsi, rax
jb 0x140016400
mov esi, dword [r15 + 0x50]
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14004083c], eax
jle 0x140016480
lea rcx, [0x14004083c]
call fcn.14002e818
cmp dword [0x14004083c], 0xffffffff
jne 0x140016480
xor r8d, r8d
lea rdx, str.ExAllocatePool
call fcn.14002a3d0
mov qword [0x140040768], rax
lea rcx, [0x14004083c]
call fcn.14002e7ac
mov rdi, qword [0x140040768]
mov eax, dword [rbx]
cmp dword [0x1400407e8], eax
jle 0x1400164d6
lea rcx, [0x1400407e8]
call fcn.14002e818
cmp dword [0x1400407e8], 0xffffffff
jne 0x1400164d6
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 [0x140040798], rax
lea rcx, [0x1400407e8]
call fcn.14002e7ac
mov rcx, qword [0x1400403d8]
mov rdx, rdi
call fcn.140013620
mov rax, qword [0x140040798]
mov rdx, rsi
xor ecx, ecx
call rax
mov r15, rax
mov qword [rbp + 0x68], rax
mov rcx, qword [0x1400403d8]
call fcn.140013810
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x58]
test byte [r13 + 0x16], 1
jne 0x140016606
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 0x140016602
mov ecx, dword [rbp + 0x60]
test ecx, ecx
je 0x140016602
lea rsi, [rax + rcx]
cmp rax, rsi
jae 0x140016602
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 0x1400165f5
lea r11, [0x140000000]
movzx edx, word [rbx]
mov ecx, edx
shr ecx, 0xc
cmp ecx, 0xa
ja case.0x1400165b8.5
mov ecx, dword [r11 + rcx*4 + 0x16998]
add rcx, r11
jmp rcx
and edx, 0xfff
add rdx, r8
mov rax, rdi
shr rax, 0x10
add word [rdx], ax
jmp case.0x1400165b8.0
and edx, 0xfff
add rdx, r8
add word [rdx], di
jmp case.0x1400165b8.0
and edx, 0xfff
add rdx, r8
add qword [rdx], rdi
inc r9d
add rbx, 2
cmp r9d, r10d
jb 0x1400165a0
cmp rbx, rsi
jb 0x140016570
mov r14, qword [rbp + 0x50]
mov r15, qword [rbp + 0x68]
mov r9d, dword [r13 + 0x50]
mov r8, r12
mov rdx, r15
call fcn.14002ce10
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 [0x140040718], ecx
jle 0x140016684
lea rcx, [0x140040718]
call fcn.14002e818
cmp dword [0x140040718], 0xffffffff
jne 0x140016684
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 [0x140040550], rax
lea rcx, [0x140040718]
call fcn.14002e7ac
mov rcx, qword [0x1400403d8]
mov rdx, rbx
call fcn.140013620
mov rdx, rdi
mov rcx, r15
call qword [0x140040550]
mov rcx, qword [0x1400403d8]
call fcn.140013810
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 0x1400167df
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 0x1400167c6
test dword [rbx], 0x2000000
je 0x1400167c6
mov r13d, eax
mov esi, dword [rbx - 0x18]
add rsi, r15
mov eax, dword [r12]
cmp dword [0x140040778], eax
jle 0x140016743
lea rcx, [0x140040778]
call fcn.14002e818
cmp dword [0x140040778], 0xffffffff
jne 0x140016743
xor r8d, r8d
lea rdx, str.RtlZeroMemory
call fcn.14002a3d0
mov qword [0x140040730], rax
lea rcx, [0x140040778]
call fcn.14002e7ac
mov r15, qword [0x140040730]
mov eax, dword [r12]
cmp dword [0x140040988], eax
jle 0x14001679b
lea rcx, [0x140040988]
call fcn.14002e818
cmp dword [0x140040988], 0xffffffff
jne 0x14001679b
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 [0x140040760], rax
lea rcx, [0x140040988]
call fcn.14002e7ac
mov rcx, qword [0x1400403d8]
mov rdx, r15
call fcn.140013620
mov rdx, r13
mov rcx, rsi
call qword [0x140040760]
mov rcx, qword [0x1400403d8]
call fcn.140013810
mov r15, qword [rbp + 0x68]
inc di
add rbx, 0x28
cmp di, word [r14 + 6]
jb 0x1400166e0
mov r14, qword [rbp + 0x50]
xor r12d, r12d
mov rcx, qword [0x1400403e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400168c5
call fcn.1400131d0
test al, al
je 0x1400168c5
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001683d
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016838
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016930
call fcn.14002e890
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001687a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016930
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400168be
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400168ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor eax, eax
jmp 0x140015f71
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400168fd
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016930
call fcn.14002e890
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001693d
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016937
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e890
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14001697d
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001696d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016987
mov rcx, r8
call fcn.14002e890
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov eax, 0xfffffffb
jmp 0x140015f71
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