Function at 0x180012bd0
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 0x180012ea5
cmp word [rcx + 0x6c], 0x50
jne 0x180012ea5
movzx eax, word [rcx + 0x6e]
xor ecx, ecx
test ax, ax
je 0x180012ea5
mov r14d, ecx
mov dword [rbp + 0x48], ecx
lea rsi, [r12 + 0x70]
cmp cx, ax
jae 0x180012ea5
movzx eax, word [rsi]
lea rcx, [rbp - 0x10]
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.180004a6c
mov edx, ebx
mov ecx, 0x40
mov r13d, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x180012e80
test ebx, ebx
je 0x180012ca5
mov r14, rax
mov r12d, r13d
lea r8, [rbp + 0x50]
lea rdx, str._02x
mov rcx, r15
call fcn.180029ae0
mov r11b, byte [rbp + 0x50]
add r15, 2
mov byte [r14], r11b
inc r14
dec r12
jne 0x180012c77
mov r12, qword [rbp + 0x40]
mov r14d, dword [rbp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, [0x180037960]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
xor r15d, r15d
test al, al
jne 0x180012e64
lea rdx, [rbp - 0x10]
lea rcx, [0x180037a80]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
jne 0x180012e64
lea rdx, [rbp - 0x10]
lea rcx, [0x180037990]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x180012d3b
mov edx, r15d
cmp byte [rdi + 3], r15b
jbe 0x180012e72
lea ebx, [rdx + 1]
mov ecx, ebx
call fcn.180004a6c
mov ecx, edx
xor r8d, r8d
inc rcx
lea edx, [r8 + 0x10]
shl rcx, 4
add rcx, rdi
call fcn.18000e590
call fcn.180004a6c
movzx eax, byte [rdi + 3]
mov edx, ebx
cmp ebx, eax
jb 0x180012d05
jmp 0x180012e72
lea rdx, [rbp - 0x10]
lea rcx, [0x1800379c8]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x180012d99
mov edx, dword [rdi + 0xc]
movzx ecx, word [rdi + 8]
add rdx, rdi
shr rcx, 1
call fcn.180004a6c
movzx r8d, word [rdi + 4]
lea rdx, [rdi + 0x10]
lea r9, str.Credentials
mov rcx, rdi
call fcn.1800090fc
movzx r8d, word [rdi + 6]
lea r9, str.OldCredentials
mov rdx, rax
mov rcx, rdi
call fcn.1800090fc
jmp 0x180012e72
lea rdx, [rbp - 0x10]
lea rcx, [0x180037a10]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x180012e26
mov edx, dword [rdi + 0x10]
movzx ecx, word [rdi + 0xc]
mov r8d, dword [rdi + 0x14]
add rdx, rdi
shr rcx, 1
call fcn.180004a6c
movzx r8d, word [rdi + 4]
lea rdx, [rdi + 0x18]
lea r9, str.Credentials
mov rcx, rdi
call fcn.180009194
movzx r8d, word [rdi + 6]
lea r9, str.ServiceCredentials
mov rdx, rax
mov rcx, rdi
call fcn.180009194
movzx r8d, word [rdi + 8]
lea r9, str.OldCredentials
mov rdx, rax
mov rcx, rdi
call fcn.180009194
movzx r8d, word [rdi + 0xa]
lea r9, str.OlderCredentials
mov rdx, rax
mov rcx, rdi
call fcn.180009194
jmp 0x180012e72
lea rdx, [rbp - 0x10]
lea rcx, [0x180037a58]
mov r8b, 1
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x180012e57
call fcn.180004a6c
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.18000e590
call fcn.180004a6c
jmp 0x180012e72
call fcn.180004a6c
mov r8d, 1
jmp 0x180012e46
shr r13, 1
mov rdx, rdi
mov rcx, r13
call fcn.180004a6c
call fcn.180004a6c
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 0x180012c27
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret