joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034cc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14016f5d0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x231
call fcn.1400866e0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14008bb30
cmp byte [rdi + 0x17], 0
jns 0x140034d40
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.14008bd70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400be510
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140034d80
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c0660
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140034e1f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400dd298
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400869d0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14003a0c0
mov rcx, rsi
mov rdx, r14
call fcn.140086ba0
mov rcx, r14
call fcn.140086b20
mov rcx, rbx
call fcn.140086b20
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400be510
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140034e50
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c0660
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140034efe
cmp word [rsp + 0x70], 0
je 0x140034efe
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400dd298
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400869d0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400be510
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400869b0
lea rcx, [rsp + 0x40]
call fcn.140086b20
jmp 0x140034ec7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14016f5d0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400868a0
mov rcx, rdi
call fcn.140034d80
test al, al
jne 0x140034ee5
lea rax, [0x1401755d8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400869d0
jmp 0x140034ef2
Function at 0x140034f50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x14016f5d0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.1400866e0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14008bb30
test rsi, rsi
je 0x1400351ea
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400868a0
mov ecx, 0x65
mov rdx, rdi
call fcn.140036e70
test al, al
je 0x1400350b7
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.140039fc0
mov rcx, rdi
mov rdx, rbx
call fcn.140086ba0
mov rcx, rbx
call fcn.140086b20
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400866e0
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14008bb30
cmp byte [rsp + 0x47], 0
jns 0x14003509b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14008bd70
cmp edi, 0xffffffff
jne 0x14003517f
lea rcx, [rsp + 0x30]
call fcn.140086b20
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400868a0
mov ecx, 0x67
mov rdx, rdi
call fcn.140036e70
test al, al
je 0x140035171
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400866e0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14008bb30
cmp byte [rsp + 0x47], 0
jns 0x140035140
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14008bd70
cmp edi, 0xffffffff
je 0x140035171
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140034b60
test al, al
jne 0x14003519c
lea rcx, [rsp + 0x30]
call fcn.140086b20
xor esi, esi
jmp 0x1400351b7
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140034b60
test al, al
je 0x1400350b7
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140086b30
mov rcx, rdi
call fcn.140086b20
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.14008bd70
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400be510
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x140035d90
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400c0660
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140036280
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14016f5d0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140036490
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140035e26
and eax, 0x7f
jmp 0x140035e2b
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140035eff
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400c0660
mov rcx, r15
mov rdx, r14
call fcn.140036440
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140035f43
mov rcx, r14
call fcn.1400361b0
test al, al
jne 0x140035f90
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140035e92
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140035f3c
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400189d0
mov rcx, r15
mov rdx, r14
call fcn.140036490
mov rcx, rdi
mov rdx, r14
call fcn.140086ba0
mov rcx, r14
call fcn.140086b20
movzx eax, byte [rsp + 0x47]
test al, al
js 0x140035eee
and eax, 0x7f
jmp 0x140035ef3
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x140035e4b
lea rcx, [rsp + 0x30]
call fcn.140086b20
lea rcx, [rsp + 0x298]
call fcn.1400363d0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400be510
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140035eb3
test bl, bl
je 0x140035f68
cmp byte [rsp + 0x47], 0
js 0x140035f55
lea rcx, [rsp + 0x30]
jmp 0x140035f5a
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140035e73
lea rcx, [rsp + 0x48]
call fcn.1400361b0
test al, al
jne 0x140035f7c
mov edx, dword [rsp + 0x48]
jmp 0x140035f47
lea rcx, [rsp + 0x48]
call fcn.1400361b0
test al, al
je 0x140035e83
jmp 0x140035f3c
xor ebp, ebp
test bl, bl
je 0x140035eb3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140035d90
mov ebp, eax
test eax, eax
jne 0x140035eb3
cmp byte [rsp + 0x47], 0
jns 0x140035fca
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140035eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140035eb3
Function at 0x1400380f0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400381b0
mov eax, dword [rsi]
mov dword [0x1401a4058], eax
test al, 1
jne 0x140038111
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401b04f8]
test rcx, rcx
jne 0x14003812b
mov rcx, qword [0x1401b04d0]
test rcx, rcx
je 0x14003814f
jmp 0x140038171
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401b04f8], 0
mov rcx, qword [0x1401b04d0]
test rcx, rcx
jne 0x140038171
and byte [0x1401a4058], 0xfe
mov ecx, 0x18
call fcn.1400bcfbc
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401b04d0], rax
mov rdx, qword [rsi + 8]
call fcn.140038dc0
cmp dword [rsi + 0x14], 0
jne 0x140038196
mov rcx, qword [0x1401b04d0]
cmp byte [rcx + 0x17], 0
jns 0x140038190
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401156e0
Function at 0x14003ac20
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401b0540]
test rdi, rdi
jne 0x14003acd3
mov ecx, 0x50
call fcn.1400bcfbc
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400bcfbc
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14003acf5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1401b0540], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003ad21
mov rcx, rax
call fcn.1400dd298
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14003ad50
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400be510
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400f3d70
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400f3d70
int3
Function at 0x14003ad50
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140045390
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14003aee4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003af1b
lea rdx, [0x140175abe]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003af09
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401c0008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14003af11
test r12d, r12d
js 0x14003af86
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400bcfbc
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14003af2e
mov rdx, qword [r14 + r15]
call fcn.1400f0f30
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14003ae52
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14003a950
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14003aea6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14003aee4
cmp r15, rbx
je 0x14003aedc
add r15, 0xffffffffffffffe8
jmp 0x14003aeca
mov rcx, qword [r15]
call fcn.1400bcff8
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14003aedc
test r15, r15
je 0x14003af5a
cmp byte [r15 + 0x17], 0
jns 0x14003aebe
jmp 0x14003aeb6
mov rcx, rbx
call fcn.1400bcff8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400be510
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003ae04
xor r15d, r15d
xor ebx, ebx
jmp 0x14003ae7f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14003ae01
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400f3d70
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1400f3d70
lea rcx, [rsp + 0x30]
call fcn.1400f0ea0
int3
Function at 0x14003e3b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c0660
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003e445
mov eax, eax
inc rax
cmp rax, 1
je 0x14003e445
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x14003e411
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003e432
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400d6044
test eax, eax
je 0x14003e57e
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003e4a6
mov eax, eax
inc rax
cmp rax, 1
je 0x14003e4a6
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x14003e472
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003e493
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400d6044
test eax, eax
je 0x14003e54f
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003e503
mov eax, eax
inc rax
cmp rax, 1
je 0x14003e503
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x14003e4d3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003e4f4
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400d6044
test eax, eax
je 0x14003e524
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400be510
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003e531
and eax, 0x7f
jmp 0x14003e535
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x14003e505
mov rcx, rsi
mov rdx, r14
call fcn.1400fe3f0
cmp word [rax], 0x5c
jne 0x14003e503
jmp 0x14003e505
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003e55c
and eax, 0x7f
jmp 0x14003e560
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x14003e505
mov rcx, rsi
mov rdx, r14
call fcn.1400fe3f0
cmp word [rax], 0x5c
jne 0x14003e4a6
jmp 0x14003e505
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003e58b
and eax, 0x7f
jmp 0x14003e58f
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x14003e505
mov rcx, rsi
mov rdx, r14
call fcn.1400fe3f0
cmp word [rax], 0x5c
jne 0x14003e445
jmp 0x14003e505
Function at 0x140040d80
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b0628]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140040dbb
movzx eax, word [0x1401b05f8]
cmp eax, 9
jne 0x140040e03
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401b0628]
call fcn.1400bd110
cmp dword [0x1401b0628], 0xffffffff
jne 0x140040da5
xorps xmm0, xmm0
movups xmmword [0x1401b0618], xmm0
movups xmmword [0x1401b0608], xmm0
movups xmmword [0x1401b05f8], xmm0
lea rcx, [0x1401b05f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401b0628]
call fcn.1400bd1a8
jmp 0x140040da5
test eax, eax
je 0x140040db6
cmp eax, 6
jne 0x140040e13
mov eax, 2
jmp 0x140040db6
cmp eax, 0xc
jne 0x140040e1f
mov eax, 3
jmp 0x140040db6
mov eax, 4
jmp 0x140040db6
Function at 0x140041780
Capabilities:
Create thread

Disassembly:
jmp 0x140041780
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400bcfbc
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140196e88]
je 0x14004184e
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140041c50]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140041863
test r14, r14
je 0x140041858
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400be510
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.14007a500
jmp 0x1400417e5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140041828
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14004187c
mov ebp, eax
cmp eax, 0x5af
je 0x14004187c
cmp ebp, 0xe
jne 0x1400418a7
mov rcx, rbx
call fcn.1400f4650
test rsi, rsi
je 0x140041828
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140196e88]
jne 0x14004189d
call fcn.14007a650
mov rcx, rsi
call fcn.1400bcff8
jmp 0x140041828
mov eax, dword [0x1401b0680]
mov ecx, dword [0x1401a5788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004192a
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140044de0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400418e7
and r8d, 0x7f
jmp 0x1400418f1
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.140070930
mov rcx, qword [0x1401b0678]
mov rdx, r14
call fcn.140047c90
cmp byte [rsp + 0x4f], 0
jns 0x140041884
mov rcx, qword [rsp + 0x38]
call fcn.1400bcff8
jmp 0x140041884
lea rcx, [0x1401b0680]
call fcn.1400bd110
cmp dword [0x1401b0680], 0xffffffff
jne 0x1400418c8
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140047c60
mov qword [0x1401b0678], rax
lea rcx, [0x1401b0680]
call fcn.1400bd1a8
jmp 0x1400418c8
Function at 0x140042170
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x14016e8b8]
mov qword [rcx], rax
add rcx, 8
call fcn.14008e8a0
lea rcx, [rsi + 0x10]
call fcn.14008e8a0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14008e8a0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x14017d0ac]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.14004b860
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.1400189d0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x14017d0b0], edx
je 0x14004236b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.140094630
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14004238f
call fcn.14004b3c0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14004b470
mov qword [0x1401b0a00], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x14017d0b4], edx
jne 0x1400423a2
test dword [0x14017d0b8], edx
jne 0x1400423b0
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.14004b600
jmp 0x14004232c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401c0008]
jmp 0x140042339
cmp rax, 0x40
mov eax, 0x100
jmp 0x140042323
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x140042384