Function at 0x18006fbe0
Capabilities:
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1800a6bc8]
mov qword [rsp + 0x98], rax
movzx eax, byte [0x1800a6b0b]
mov byte [rsp + 0x20], al
mov dword [rsp + 0x70], 0x23017d92
movzx eax, word [0x1800a6bec]
mov word [rsp + 0x4c], ax
movzx eax, word [0x1800a6c44]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x74], 0x4cc0
mov eax, 0xe6
mov word [rsp + 0x50], ax
mov dword [rsp + 0x40], 0x698d
movzx eax, byte [0x1800a6adf]
mov dword [rsp + 0x34], eax
movsx rax, word [0x1800a6c10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 0x7bf8
mov dword [rsp + 0x78], 0x33771802
mov rax, qword [0x1800a6bd0]
mov byte [rsp + 0x24], al
mov rax, qword [0x1800a6bc8]
mov word [rsp + 0x54], ax
mov qword [rsp + 0x90], 0xc7
mov eax, 0x4f3b
mov word [rsp + 0x58], ax
mov byte [rsp + 0x22], 0x8c
mov byte [rsp + 0x23], 0x4d
movzx eax, byte [0x1800a6b0b]
movsx ax, al
mov word [rsp + 0x30], ax
mov dword [rsp + 0x7c], 0x52909187
mov eax, dword [0x1800a6c4c]
mov byte [rsp + 0x21], al
movzx eax, byte [str.uEinvalid_bit_length]
movsx ax, al
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1800a6b0b]
movsx ax, al
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x25], 0x30
mov dword [rsp + 0x80], 0xd8ac5f82
movzx eax, byte [0x1800a6b0c]
mov byte [rsp + 0x26], al
mov eax, dword [0x1800a6b1c]
mov byte [rsp + 0x27], al
mov qword [rsp + 0xa0], 0xa7bd
movzx eax, word [0x1800a6c2c]
movsx rax, ax
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x84], 0x9589
mov rax, qword [0x1800a6bc8]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 0x29e6
movzx eax, byte [0x1800a6c38]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], 0xbb
mov qword [rsp + 0xb0], 0x6c
imul rax, qword [0x1800a6c00], 0xaedc
mov dword [0x1800a6bbc], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
mov qword [0x1810c57e0], rax
mov eax, dword [0x1810c57e8]
mov qword [0x1800a6be0], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x18006fe69
cmp dword [rsp + 0x38], 2
je 0x18006fe94
cmp dword [rsp + 0x38], 3
je 0x18006fea7
jmp 0x18006feb5
call fcn.18006f780
mov rax, qword [0x1800a6c20]
imul rax, rax, 0x20
mov qword [0x1800a6be0], rax
mov rax, qword [0x1800a6c00]
sub rax, 0xd4
mov qword [0x1800a6bd8], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
sub rax, rcx
mov dword [rsp + 0x34], eax
movsx eax, word [rsp + 0x30]
add eax, 0xc40580c4
mov byte [rsp + 0x20], al
movzx eax, byte [0x1800a6af3]
mov rcx, qword [0x1800a6bd0]
cmp rax, rcx
jae 0x18006ff9b
lea rcx, str.comdlg32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, eax
mov qword [0x1800a6c08], rax
cmp qword [0x1800a6c08], 0
jne 0x18006ff00
movzx eax, byte [0x1800a6af7]
movzx eax, al
not eax
test eax, eax
je 0x18006ff86
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [0x1800a6c18], ax
movzx eax, word [0x1800a6c18]
movzx eax, ax
test eax, eax
jne 0x18006ff36
movzx eax, byte [rsp + 0x21]
movsx eax, al
add eax, 0x46e2
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x18006ff84
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
je 0x18006ff55
movzx eax, word [0x1800a6c50]
dec ax
mov word [0x1800a6c50], ax
jmp 0x18006ff84
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x18006ff84
movzx eax, byte [rsp + 0x23]
movsx eax, al
mov ecx, dword [0x1800a6c14]
add ecx, eax
mov eax, ecx
mov dword [0x1800a6c14], eax
movzx eax, word [0x1810c57e8]
mov word [0x1800a6c1c], ax
jmp 0x18006ff99
movzx eax, byte [rsp + 0x24]
sub eax, 0x7205
cdqe
mov qword [0x1800a6bf0], rax
jmp 0x18006ffba
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x18006ffac
cmp dword [0x1800a6b0c], 0
je 0x18006ffba
mov eax, dword [0x1800a6c4c]
inc eax
mov dword [0x1800a6c4c], eax
mov eax, 1
add rsp, 0xc8
ret