Function at 0x18006a024
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
cmp dword [rcx + 4], 0x62
mov r12, rcx
jbe 0x18006a344
cmp word [rcx + 0x6c], 0x50
jne 0x18006a344
movzx eax, word [rcx + 0x6e]
xor ecx, ecx
test ax, ax
je 0x18006a344
mov r14d, ecx
mov dword [rbp + 0x48], ecx
lea rsi, [r12 + 0x70]
cmp cx, ax
jae 0x18006a344
movzx eax, word [rsi]
lea rdx, [rbp - 0x10]
lea rcx, str.__wZ__n
mov word [rbp - 0xe], ax
mov word [rbp - 0x10], ax
lea rax, [rsi + 6]
mov qword [rbp - 8], rax
movzx eax, word [rsi]
movzx ebx, word [rsi + 2]
lea r15, [rax + rsi + 6]
shr ebx, 1
call fcn.180008f6c
mov edx, ebx
mov ecx, 0x40
mov r13d, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x18006a31f
test ebx, ebx
je 0x18006a100
mov r14, rax
mov r12d, r13d
lea r8, [rbp + 0x50]
lea rdx, str._02x
mov rcx, r15
call fcn.180078644
mov r11b, byte [rbp + 0x50]
add r15, 2
mov byte [r14], r11b
inc r14
dec r12
jne 0x18006a0d2
mov r12, qword [rbp + 0x40]
mov r14d, dword [rbp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e560]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
xor r15d, r15d
test al, al
jne 0x18006a2f5
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e660]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
jne 0x18006a2f5
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e590]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x18006a1a7
mov r13d, r15d
cmp byte [rdi + 3], r15b
jbe 0x18006a30a
lea ebx, [r13 + 1]
lea rcx, str._____02u
mov edx, ebx
call fcn.180008f6c
xor r8d, r8d
mov ecx, r13d
inc rcx
lea edx, [r8 + 0x10]
shl rcx, 4
add rcx, rdi
call fcn.18000e574
lea rcx, [0x1800964e8]
call fcn.180008f6c
movzx eax, byte [rdi + 3]
mov r13d, ebx
cmp ebx, eax
jb 0x18006a160
jmp 0x18006a30a
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e5a0]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x18006a20d
mov r8d, dword [rdi + 0xc]
movzx edx, word [rdi + 8]
lea rcx, str.____Default_Salt_:__.s_n
add r8, rdi
shr rdx, 1
call fcn.180008f6c
movzx r8d, word [rdi + 4]
lea rdx, [rdi + 0x10]
lea r9, str.Credentials
mov rcx, rdi
call fcn.18005da28
movzx r8d, word [rdi + 6]
lea r9, str.OldCredentials
mov rdx, rax
mov rcx, rdi
call fcn.18005da28
jmp 0x18006a30a
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e5e8]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x18006a2a2
mov r8d, dword [rdi + 0x10]
movzx edx, word [rdi + 0xc]
mov r9d, dword [rdi + 0x14]
lea rcx, str.____Default_Salt_:__.s_n____Default_Iterations_:__u_n
add r8, rdi
shr rdx, 1
call fcn.180008f6c
movzx r8d, word [rdi + 4]
lea rdx, [rdi + 0x18]
lea r9, str.Credentials
mov rcx, rdi
call fcn.18005dad8
movzx r8d, word [rdi + 6]
lea r9, str.ServiceCredentials
mov rdx, rax
mov rcx, rdi
call fcn.18005dad8
movzx r8d, word [rdi + 8]
lea r9, str.OldCredentials
mov rdx, rax
mov rcx, rdi
call fcn.18005dad8
movzx r8d, word [rdi + 0xa]
lea r9, str.OlderCredentials
mov rdx, rax
mov rcx, rdi
call fcn.18005dad8
jmp 0x18006a30a
lea rdx, [rbp - 0x10]
lea rcx, [0x18008e630]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x18006a2e1
lea rcx, str.____Random_Value_:
call fcn.180008f6c
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.18000e574
lea rcx, [0x1800964e8]
call fcn.180008f6c
jmp 0x18006a30a
lea rcx, str.____Unknown_data_:
call fcn.180008f6c
mov r8d, 1
jmp 0x18006a2c9
shr r13, 1
lea rcx, str._____.s_n
mov r8, rdi
mov rdx, r13
call fcn.180008f6c
lea rcx, [0x1800964e8]
call fcn.180008f6c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, word [rsi + 2]
movzx ecx, word [rsi]
inc r14d
add rax, rsi
mov dword [rbp + 0x48], r14d
lea rsi, [rax + rcx + 6]
movzx eax, word [r12 + 0x6e]
cmp r14d, eax
jb 0x18006a07b
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret