Function at 0x1800112c0
Capabilities:
Get file size
Query or enumerate registry value
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x1800624d0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
lea ebx, [r8 + 0x78]
mov r15d, r8d
mov dword [rsp + 0x60], ebx
mov r12, rdx
mov rdi, rcx
cmp r8d, ebx
jae case.0x180011342.11
movzx esi, word [rsp + 0x40]
lea r13d, [r8 - 0x45]
mov r14, qword [rsp + 0x68]
lea rdx, [0x180000000]
xor r8d, r8d
cmp r13d, 0xba
ja case.0x180011342.12
movzx eax, byte [rdx + r13 + 0x117f8]
mov ecx, dword [rdx + rax*4 + 0x117c4]
add rcx, rdx
jmp rcx
mov eax, dword [0x180055afc]
mov dword [rbp - 0x5a], eax
movzx eax, byte [0x180055b00]
mov byte [rbp - 0x56], al
mov word [rbp - 0x55], 0x3120
jmp case.0x180011342.12
mov ecx, 0x208
mov dword [rsp + 0x48], r8d
call fcn.18004c240
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x44], eax
call fcn.18004a1a0
jmp 0x180011747
mov r8d, 3
lea rdx, [0x180055b31]
lea rcx, [rbp - 0x5e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov word [rbp - 0x5b], 0x20
jmp 0x180011747
movzx eax, word [0x180055baa]
mov word [rbp - 0x6c], ax
movzx eax, byte [0x180055bac]
mov byte [rbp - 0x6a], al
movzx eax, word [0x180055bfd]
mov word [rbp - 0x69], ax
movzx eax, byte [0x180055bff]
mov byte [rbp - 0x67], al
mov dword [rbp - 0x70], 0x6942756e
jmp case.0x180011342.12
mov byte [rsp + 0x40], 1
jmp case.0x180011342.12
mov rcx, qword [rsp + 0x68]
call fcn.18004c238
jmp 0x180011747
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x180011417
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r8
mov r8d, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x58]
mov r8d, 0x104
mov rdx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x48]
je 0x180011747
mov ecx, 0x106
mov eax, ecx
sub eax, 0x106
je 0x180011485
sub eax, 1
je 0x180011485
sub eax, 1
je 0x18001149e
sub eax, 1
je 0x180011497
cmp eax, 1
je case.0x180011342.11
xor r8d, r8d
inc ecx
cmp ecx, 0x10b
jb 0x180011464
jmp 0x18001174a
mov byte [rsp + 0x40], 0
jmp 0x180011485
xor r8d, r8d
mov rax, rdi
mov qword [rdi + 0x10], r8
cmp qword [rdi + 0x18], 0x10
jb 0x1800114b2
mov rax, qword [rdi]
mov byte [rax], r8b
jmp 0x180011488
cmp qword [r12 + 0x18], 8
mov rcx, r12
mov byte [rbp - 0x53], 0
jb 0x1800114ca
mov rcx, qword [r12]
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x14
cmp rax, 0xffffffffffffffff
jne 0x180011747
xor r8d, r8d
mov ebx, r8d
nop
lea rdx, [0x180000000]
cmp ebx, 0xf
ja case.0x18001152c.13
mov eax, ebx
mov ecx, dword [rdx + rax*4 + 0x118b4]
add rcx, rdx
jmp rcx
mov dword [rbp + 0x1f4], 0x350064
mov word [rbp + 0x1f8], r8w
jmp case.0x18001152c.13
mov word [rbp - 0x12], r8w
lea rdx, [0x180055c3a]
mov r8d, 3
lea rcx, [rbp - 0x12]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor r8d, r8d
lea rdx, [0x180000000]
jmp case.0x18001152c.13
mov eax, 0x66
mov dword [rbp + 0x1e2], 0x200067
mov word [rbp + 0x1e0], ax
mov dword [rbp + 0x1e6], 0x200063
mov dword [rbp + 0x1ea], 0x620023
jmp case.0x18001152c.13
mov dword [rbp - 0x38], 0x57
mov r14, 0xffffffff80000001
jmp case.0x18001152c.13
mov eax, 0x2b
mov dword [rbp - 0x46], 0x410020
mov word [rbp - 0x48], ax
mov eax, 0x52
mov word [rbp - 0x42], ax
mov dword [rbp - 0x40], 0x78002e
mov dword [rbp - 0x3c], 0x2e0029
jmp case.0x18001152c.13
movsd xmm0, qword [str.WinStationConnectAndLockDesktop]
movzx eax, word [0x180055d48]
movsd qword [rbp - 0x30], xmm0
mov word [rbp - 0x28], ax
mov word [rbp - 0x26], r8w
jmp case.0x18001152c.13
mov word [rbp - 8], r8w
lea rdx, [0x180055d86]
mov r8d, 2
mov dword [rbp - 0xc], 0x420070
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov eax, 0x6b
lea rdx, [0x180000000]
mov word [rbp - 4], ax
xor r8d, r8d
jmp case.0x18001152c.13
movsx edx, si
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
xor ecx, ecx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x1e0]
mov dword [rsp + 0x5c], ecx
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor r8d, r8d
lea rdx, [0x180000000]
jmp case.0x18001152c.13
mov dword [rbp - 0x4c], 0x200034
jmp case.0x18001152c.13
mov dword [rbp - 0x50], 0x280054
jmp case.0x18001152c.13
mov esi, 0x100
jmp case.0x18001152c.13
mov eax, 0x37
mov dword [rbp + 0x1ee], 0x630033
mov word [rbp + 0x1f2], ax
jmp case.0x18001152c.13
movabs rax, 0x6f006900740061
mov dword [rbp - 0x1e], 0x43006e
mov qword [rbp - 0x26], rax
movabs rax, 0x6b006300650068
mov qword [rbp - 0x1a], rax
jmp case.0x18001152c.13
mov word [rbp - 2], r8w
inc ebx
lea eax, [rbx + 0x29]
cmp eax, 0x39
jb 0x180011510
mov ebx, dword [rsp + 0x60]
jmp case.0x180011342.12
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExA]
jmp 0x180011747
mov r8d, 5
mov byte [rbp - 0x66], 0
lea rdx, [0x180055dab]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 3
lea rdx, [0x180055e1b]
lea rcx, [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp - 0x5e], 0
xor r8d, r8d
lea rdx, [0x180000000]
add r15d, 0xa
add r13d, 0xa
cmp r15d, ebx
jb 0x180011322
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.18004c9e0
mov rbx, qword [rsp + 0x750]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x40], 0
jmp case.0x180011342.11
mov qword [rsp + 0x30], r8
mov r9, r12
mov qword [rsp + 0x28], r8
xor edx, edx
xor r8d, r8d
mov dword [rsp + 0x20], 0x7f
xor ecx, ecx
call fcn.180011900
mov eax, dword [rdi]
add dword [r12], eax
mov eax, dword [r12]
jmp 0x180011766