Function at 0x180007ee0
Capabilities:
Enumerate files on windows
Identify system language via api
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x698]
sub rsp, 0x788
mov rax, qword [0x180176010]
xor rax, rsp
mov qword [rbp + 0x670], rax
xor r14d, r14d
mov qword [rsp + 0x60], rdx
mov qword [rbp - 0x70], r14
lea rax, [0x18017f100]
mov qword [rsp + 0x78], rax
lea rax, [0x18017f110]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x40], 0x60
test rcx, rcx
je 0x18000854d
cmp word [rcx], r14w
je 0x18000854d
test rdx, rdx
je 0x18000854d
cmp word [rdx], r14w
je 0x18000854d
mov qword [r11 + 0x18], rbx
lea r9, [r14 - 1]
mov r8, rcx
mov qword [r11 + 0x20], rsi
lea rcx, [rbp + 0x460]
mov qword [r11 - 0x18], rdi
mov edx, 0x104
mov qword [0x18017f110], r14
call fcn.180028ec0
test eax, eax
jne 0x180008543
lea rcx, [rbp + 0x460]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x180007fa0
cmp word [rbp + rax*2 + 0x45e], 0x5c
je 0x180007fde
mov r9, 0xffffffffffffffff
lea r8, [0x18015ed00]
mov edx, 0x104
lea rcx, [rbp + 0x460]
call fcn.180027250
test eax, eax
jne 0x180008543
lea rax, [rbp + 0x460]
mov dword [rsp + 0x30], 0x80070002
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x228]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x60], rax
lea rcx, str.VSLANG
lea rax, [rsp + 0x40]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x38], rax
xor eax, eax
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x230], eax
lea r8d, [rax + 6]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 4
ja 0x180008079
lea r9, [rsp + 0x30]
mov r8d, 0xa
lea rdx, [rbp + 0x228]
lea rcx, [rbp - 0x68]
call fcn.180008560
cmp dword [rsp + 0x30], r14d
je 0x18000824b
mov rcx, qword [0x18017f0d0]
test rcx, rcx
jne 0x1800080c0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180008252
lea rdx, str.SetThreadPreferredUILanguages
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18017f0d0], rax
jmp 0x1800080c9
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rbx, rax
test rbx, rbx
je 0x180008252
xor r8d, r8d
lea rcx, str.VS_UNICODE_OUTPUT
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1800080fc
xor r8d, r8d
xor edx, edx
mov ecx, pe_nt_image_headers64
call rbx
test eax, eax
je 0x180008543
mov rcx, qword [0x18017f0e8]
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r14d
test rcx, rcx
jne 0x18000814d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800082fa
lea rdx, str.GetThreadPreferredUILanguages
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18017f0e8], rax
jmp 0x180008156
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rdi, rax
test rdi, rdi
je 0x1800082fa
xor r8d, r8d
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
lea ecx, [r8 + 0x34]
call rdi
test eax, eax
je 0x180008543
mov ebx, dword [rsp + 0x38]
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x1800081d4
mov eax, 0x8007000e
mov rsi, qword [rsp + 0x7b8]
mov rbx, qword [rsp + 0x7b0]
mov rdi, qword [rsp + 0x780]
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.18000a220
add rsp, 0x788
pop r14
pop rbp
ret
lea r9, [rsp + 0x38]
mov r8, rsi
lea rdx, [rsp + 0x3c]
mov ecx, 0x34
call rdi
test eax, eax
je 0x180008543
mov rbx, rsi
cmp word [rsi], r14w
je 0x18000822b
nop dword [rax]
lea r9, [rsp + 0x30]
mov r8d, 0x10
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180008560
mov edi, dword [rsp + 0x30]
test edi, edi
je 0x18000822f
add rbx, 0xa
cmp word [rbx], r14w
jne 0x180008200
jmp 0x18000822f
mov edi, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
jne 0x1800082fa
xor eax, eax
jmp 0x1800081a2
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov r8d, 0x3ff
movzx ecx, ax
and cx, r8w
lea edx, [r8 + 0xa]
cmp cx, 1
je 0x180008275
cmp cx, 0xd
jne 0x180008277
mov eax, edx
mov word [rbp + 0x220], ax
lea rdi, [rbp + 0x220]
and ax, r8w
mov word [rbp + 0x224], dx
mov ecx, 0x400
mov ebx, r14d
or ax, cx
mov word [rbp + 0x222], ax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdi]
lea rdx, [rbp + 0x238]
mov r9d, 0xa
lea r8d, [r9 - 4]
call fcn.180027490
lea r9, [rsp + 0x30]
mov r8d, 0xa
lea rdx, [rbp + 0x238]
lea rcx, [rbp - 0x68]
call fcn.180008560
cmp dword [rsp + 0x30], r14d
je 0x18000824b
inc ebx
add rdi, 2
cmp ebx, 3
jb 0x1800082b0
lea r9, [rsp + 0x30]
mov r8d, 0xa
lea rdx, str.1033
lea rcx, [rbp - 0x68]
call fcn.180008560
mov esi, dword [rsp + 0x30]
test esi, esi
je 0x18000824b
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x460]
mov edx, 0x104
lea rcx, [rbp + 0x250]
call fcn.180028ec0
test eax, eax
jne 0x180008539
mov r9, 0xffffffffffffffff
lea r8, [0x18015edac]
mov edx, 0x104
lea rcx, [rbp + 0x250]
call fcn.180027250
test eax, eax
jne 0x180008539
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800083a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1800081a2
movzx eax, ax
or eax, 0x80070000
jmp 0x1800081a2
lea rax, [rbp + 0x460]
mov rbx, 0xffffffffffffffff
cmp word [rax + rbx*2 + 2], r14w
lea rbx, [rbx + 1]
jne 0x1800083b2
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1800084e2
test byte [rbp - 0x30], 0x10
je 0x1800084cd
movzx ecx, word [rbp - 4]
movzx eax, word [rbp - 2]
cmp cx, 0x2e
jne 0x180008409
test ax, ax
je 0x1800084cd
cmp cx, cx
jne 0x180008409
cmp ax, cx
jne 0x180008409
cmp word [rbp], r14w
je 0x1800084cd
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 1
lea r8, [rsp + 0x34]
lea rdx, str._hu_c
lea rcx, [rbp - 4]
call fcn.180007e80
cmp eax, 0xffffffff
je 0x1800084cd
lea rax, [rbx + rbx]
cmp rax, 0x208
jae 0x180008557
mov r9, 0xffffffffffffffff
mov word [rbp + rax + 0x250], r14w
lea r8, [rbp - 4]
mov edx, 0x104
lea rcx, [rbp + 0x250]
call fcn.180027250
test eax, eax
jne 0x1800084cd
mov r9, 0xffffffffffffffff
lea r8, [0x18015ed00]
mov edx, 0x104
lea rcx, [rbp + 0x250]
call fcn.180027250
test eax, eax
jne 0x1800084cd
mov r8, qword [rsp + 0x60]
lea rcx, [rbp + 0x250]
mov r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.180027250
test eax, eax
jne 0x1800084cd
mov r8d, dword [rsp + 0x40]
lea rcx, [rbp + 0x250]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1800084f2
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800083d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x1800081a2
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000850c
movzx eax, word [rsp + 0x34]
mov word [rcx], ax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180008525
mov rdx, qword [rbp - 0x70]
lea r8, [rbp + 0x250]
call fcn.1800274b0
mov rcx, rdi
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, r14d
jmp 0x1800081a2
mov eax, 0x80070003
jmp 0x1800081a2
mov eax, 0x80004005
jmp 0x1800081a2
mov eax, 0x80070057
jmp 0x1800081ba
call fcn.18000a350
int3