Function at 0x1400282e0
Capabilities:
Query environment variable
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140051058]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov edi, edx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
lea r14, [rbx + 0x28]
mov r8d, 0x104
lea rdx, [rbp - 0x60]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor r12d, r12d
test eax, eax
jne 0x14002835c
mov rcx, rbx
call fcn.14002728c
mov eax, 0x80004005
jmp 0x140028662
mov r8d, edi
lea rcx, [rsp + 0x48]
call fcn.140033264
nop
mov edi, dword [rsp + 0x50]
test edi, edi
jne 0x1400285d7
mov dword [rsp + 0x40], r12d
lea r8, [rsp + 0x40]
lea rdx, str.B0AA5481_05C1_4719_9A29_EE713099C5DF
mov rcx, rbx
call fcn.1400281c4
mov edi, eax
cmp dword [rsp + 0x40], r12d
jne 0x1400285d5
mov edi, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [r9 + 1]
mov r8d, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbx + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400285ba
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
nop dword [rax + rax]
mov qword [rbx + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14002859e
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140028587
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x68], eax
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileInformationByHandle]
nop dword [rax + rax]
cmp dword [rsp + 0x7c], r12d
jne 0x140028474
cmp dword [rbp - 0x80], r12d
mov rax, qword [rsp + 0x6c]
je 0x140028479
mov rax, qword [rsp + 0x7c]
mov qword [rbx + 0x30], rax
cmp dword [rbp - 0x74], 0x44
ja 0x14002848d
mov edi, 0x80070018
jmp 0x140028573
mov r12d, dword [rbp - 0x74]
mov rax, qword [rbx + 0x48]
movsxd r13, dword [r12 + rax - 4]
lea rsi, [r13 + 0x2c]
mov eax, r12d
sub rax, rsi
cmp rsi, r12
sbb r15, r15
and r15, rax
mov rcx, qword [rbx + 0x50]
call fcn.140001e40
call fcn.14000ad78
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400284cd
cmp dword [rcx], edi
jbe 0x1400284cd
call fcn.14000ad78
lea rax, [r15 + rsi]
cmp rax, r12
jbe 0x140028503
mov edi, 0x80070018
call fcn.14000ad78
mov rcx, qword [rax + 8]
xor r12d, r12d
test rcx, rcx
je 0x140028573
cmp dword [rcx], r12d
jbe 0x140028573
call fcn.14000ad78
lea r8, str.More_bytes_to_copy_from_general_cache_wordlist_file_than_file_size
jmp 0x14002853e
mov rcx, rsi
call fcn.140001e4c
mov rcx, rax
mov qword [rbx + 0x50], rax
xor r12d, r12d
test rax, rax
jne 0x140028547
mov edi, 0x8007000e
call fcn.14000ad78
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140028573
cmp dword [rcx], r12d
jbe 0x140028573
call fcn.14000ad78
lea r8, str.Failed_allocating_memory_for_data_to_copy_from_TrainedDataStore_UDICT_
mov edx, edi
call fcn.140027fe4
jmp 0x140028573
mov rax, qword [rbx + 0x48]
movups xmm0, xmmword [r15 + rax]
movdqu xmmword [rcx], xmm0
mov rdx, qword [rbx + 0x48]
add rdx, 0x10
add rdx, r15
mov rcx, qword [rbx + 0x50]
add rcx, 0x10
lea r8, [r13 + 0x1c]
call sub.msvcrt.dll_memcpy
mov dword [rbx + 0x58], esi
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_UnmapViewOfFile]
nop dword [rax + rax]
mov qword [rbx + 0x48], r12
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rbx + 0x40], 0xffffffffffffffff
jmp 0x1400285a3
mov edi, 0x80070002
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rbx + 0x38], 0xffffffffffffffff
jmp 0x1400285d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x1400285d5
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x140028656
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov edx, dword [rbx + 0x58]
sub edx, 0x10
mov rax, qword [rbx + 0x50]
lea r8, [rax + 0x10]
neg rax
sbb rcx, rcx
and rcx, r8
lea r8, [rsp + 0x58]
call fcn.140038998
test eax, eax
js 0x140028640
mov rcx, qword [rbx + 0x50]
mov rax, qword [rsp + 0x58]
cmp rax, qword [rcx]
jne 0x140028640
mov rax, qword [rsp + 0x60]
cmp rax, qword [rcx + 8]
jne 0x140028640
mov rcx, qword [r14]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov qword [r14], r12
mov rdx, r14
mov rcx, rbx
call fcn.1400275a8
mov edi, eax
jmp 0x140028656
mov dword [rbx + 0x58], r12d
mov rcx, qword [rbx + 0x50]
call fcn.140001e40
mov qword [rbx + 0x50], r12
mov edi, 0x80070017
lea rcx, [rsp + 0x48]
call fcn.140033448
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400027f0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret