Function at 0x140122c90
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 4], 0x62
jbe 0x140123185
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x6c]
cmp eax, 0x50
jne 0x140123185
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x6e]
test eax, eax
je 0x140123185
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x70
mov qword [rsp + 0x38], rax
jmp 0x140122d1f
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 6]
mov rcx, qword [rsp + 0x38]
movzx ecx, word [rcx + 2]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x6e]
cmp dword [rsp + 0x50], eax
jae 0x140123185
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov word [rsp + 0x62], ax
movzx eax, word [rsp + 0x62]
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x38]
add rax, 6
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 6]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 2]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x60]
lea rcx, str.__wZ__n
call fcn.140013fd0
mov eax, dword [rsp + 0x30]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140123180
mov dword [rsp + 0x20], 0
jmp 0x140122dcd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jae 0x140122e14
mov eax, dword [rsp + 0x20]
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x70]
lea rdx, [0x14018fdc4]
mov rcx, rax
call fcn.140120e50
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x140122dc3
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bcf8]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
jne 0x140122e4c
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bc20]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x140122e73
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 2
div rcx
mov r8, qword [rsp + 0x40]
mov rdx, rax
lea rcx, str._____.s_n
call fcn.140013fd0
jmp 0x140123169
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bd28]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x140122f0e
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
jmp 0x140122eb0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 3]
cmp dword [rsp + 0x20], eax
jae 0x140122f09
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
lea rcx, str._____02u
call fcn.140013fd0
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 0x10]
xor r8d, r8d
mov edx, 0x10
mov rcx, rax
call fcn.1400204a0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
jmp 0x140122ea6
jmp 0x140123169
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bd08]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x140122fda
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx + 8]
xor edx, edx
mov eax, ecx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x90]
mov r8, rcx
mov rdx, rax
lea rcx, str.____Default_Salt_:__.s_n
call fcn.140013fd0
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x78], rax
lea r9, str.Credentials
mov rax, qword [rsp + 0x48]
movzx r8d, word [rax + 4]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.140107fc0
mov qword [rsp + 0x78], rax
lea r9, str.OldCredentials
mov rax, qword [rsp + 0x48]
movzx r8d, word [rax + 6]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.140107fc0
jmp 0x140123169
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bcb0]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x1401230f6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0xc]
xor edx, edx
mov eax, ecx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x28]
mov r9d, dword [rcx + 0x14]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov rdx, rax
lea rcx, str.____Default_Salt_:__.s_n____Default_Iterations_:__u_n
call fcn.140013fd0
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r9, str.Credentials
mov rax, qword [rsp + 0x28]
movzx r8d, word [rax + 4]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call fcn.1401080b0
mov qword [rsp + 0x58], rax
lea r9, str.ServiceCredentials
mov rax, qword [rsp + 0x28]
movzx r8d, word [rax + 6]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call fcn.1401080b0
mov qword [rsp + 0x58], rax
lea r9, str.OldCredentials
mov rax, qword [rsp + 0x28]
movzx r8d, word [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call fcn.1401080b0
mov qword [rsp + 0x58], rax
lea r9, str.OlderCredentials
mov rax, qword [rsp + 0x28]
movzx r8d, word [rax + 0xa]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call fcn.1401080b0
jmp 0x140123169
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [0x14017bd18]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x14012313d
lea rcx, str.____Random_Value_:
call fcn.140013fd0
xor r8d, r8d
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400204a0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
jmp 0x140123169
lea rcx, str.____Unknown_data_:
call fcn.140013fd0
mov r8d, 1
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400204a0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140122cf2
add rsp, 0xa8
ret