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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14014d410]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140077d50
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14007d050
cmp byte [rdi + 0x17], 0
jns 0x14002da02
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14007d0d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002da40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14014d410]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x214
call fcn.140077d50
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14007d050
cmp byte [rdi + 0x17], 0
jns 0x14002dac2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002db55
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14002db38
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14002db81
call fcn.140077d70
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14002db55
call fcn.140077d70
mov rcx, r14
call fcn.140071e10
lea rcx, [rsp + 0x60]
call fcn.14007d0d0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002db30
Function at 0x14002db90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14014d410]
lea rsi, [rsp + 0x40]
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, 0x233
call fcn.140077d50
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14007d050
cmp byte [rdi + 0x17], 0
jns 0x14002dc02
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.14007d0d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a86d0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002dc50
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400aa820
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002dcef
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c4c68
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140077f80
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140033440
mov rcx, rsi
mov rdx, r14
call fcn.1400328e0
mov rcx, r14
call fcn.1400780b0
mov rcx, rbx
call fcn.1400780b0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002dd20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400aa820
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 0x14002ddb5
cmp word [rsp + 0x70], 0
je 0x14002ddb5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400c4c68
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140077f80
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400a86d0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14014d410]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140077f00
mov rcx, rdi
call fcn.14002dc50
test al, al
jne 0x14002de07
lea rax, [0x140152c68]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140077f80
jmp 0x14002de14
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140077f60
lea rcx, [rsp + 0x40]
call fcn.1400780b0
jmp 0x14002dd97
Function at 0x14002de30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401898a0], 0
jne 0x14002e0d1
mov rsi, rcx
movaps xmm6, xmmword [0x14014d410]
lea rdi, [rsp + 0x50]
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 + 0xb0]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.140077d50
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14007d050
test rsi, rsi
je 0x14002e0d5
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140077f00
mov ecx, 0x65
mov rdx, rdi
call fcn.14002fa90
test al, al
je 0x14002df9f
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400332d0
mov rcx, rdi
mov rdx, rbx
call fcn.1400328e0
mov rcx, rbx
call fcn.1400780b0
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140077d50
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14007d050
cmp byte [rsp + 0x47], 0
jns 0x14002df83
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14007d0d0
cmp edi, 0xffffffff
jne 0x14002e066
lea rcx, [rsp + 0x30]
call fcn.1400780b0
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140077f00
mov ecx, 0x67
mov rdx, rdi
call fcn.14002fa90
test al, al
je 0x14002e058
lea rbx, [rsp + 0xb0]
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140077d50
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14007d050
cmp byte [rsp + 0x47], 0
jns 0x14002e027
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14007d0d0
cmp edi, 0xffffffff
je 0x14002e058
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002da40
test al, al
jne 0x14002e083
lea rcx, [rsp + 0x30]
call fcn.1400780b0
xor esi, esi
jmp 0x14002e09e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002da40
test al, al
je 0x14002df9f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400780c0
mov rcx, rdi
call fcn.1400780b0
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14007d0d0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400a86d0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x14002e0a8
int3
Function at 0x14002eaf0
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, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400aa820
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14002efa0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14014d410]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14002f160
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14002eb88
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002ec5a
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400aa820
mov rcx, r15
mov rdx, r14
call fcn.14002f110
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14002ec97
mov rcx, r14
call fcn.14002eed0
test al, al
jne 0x14002ecec
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x14002ebf6
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14002ece5
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.1400188a0
mov rcx, r15
mov rdx, r14
call fcn.14002f160
mov rcx, rdi
mov rdx, r14
call fcn.1400328e0
mov rcx, r14
call fcn.1400780b0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14002ec4e
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x14002ebaf
lea rcx, [rsp + 0x40]
call fcn.1400780b0
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14002f0a0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x14002ecbf
cmp byte [rsp + 0x57], 0
js 0x14002ecac
lea rcx, [rsp + 0x40]
jmp 0x14002ecb1
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14002ebd7
lea rcx, [rsp + 0x58]
call fcn.14002eed0
test al, al
jne 0x14002ecd3
mov edx, dword [rsp + 0x58]
jmp 0x14002ec9e
lea rcx, [rsp + 0x58]
call fcn.14002eed0
test al, al
je 0x14002ebe7
xor ebp, ebp
jmp 0x14002ec13
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x14002ec13
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14002eaf0
mov ebp, eax
test eax, eax
jne 0x14002ec13
cmp byte [rsp + 0x57], 0
jns 0x14002ed29
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14002ec13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14002ec13
Function at 0x140031360
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140031430
mov eax, dword [rsi]
mov dword [0x14017a0c0], eax
test al, 1
jne 0x140031381
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401898e0]
test rcx, rcx
jne 0x14003139b
mov rcx, qword [0x1401898b8]
test rcx, rcx
je 0x1400313bf
jmp 0x1400313e1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401898e0], 0
mov rcx, qword [0x1401898b8]
test rcx, rcx
jne 0x1400313e1
and byte [0x14017a0c0], 0xfe
mov ecx, 0x18
call fcn.1400a721c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401898b8], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140031416
call fcn.14002b850
cmp dword [rsi + 0x14], 0
jne 0x14003140b
mov rcx, qword [0x1401898b8]
cmp byte [rcx + 0x17], 0
jns 0x140031405
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400f4f80
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.1400dbfa0
int3
Function at 0x140033ea0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140189928]
test rdi, rdi
jne 0x140033f53
mov ecx, 0x50
call fcn.1400a721c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400a721c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140033f75
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 [0x140189928], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140033f88
mov rcx, rax
call fcn.1400c4c68
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140033fa0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400dbfa0
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400dbfa0
int3
Function at 0x140033fa0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14003c560
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140034127
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x140153338]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003418b
lea rdx, [0x140153388]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003416f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x14016ac98]
mov r14, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x140034181
test r12d, r12d
js 0x140034177
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400a721c
mov rbx, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x140034149
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400daad0
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14003409f
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140033c10
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400340ed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140034127
cmp r15, rbx
je 0x14003411f
add r15, 0xffffffffffffffe8
jmp 0x140034111
mov rcx, qword [r15]
call fcn.1400a7258
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14003411f
test r15, r15
je 0x14003415c
cmp byte [r15 + 0x17], 0
js 0x1400340fd
jmp 0x140034105
mov rcx, rbx
call fcn.1400a7258
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a86d0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400dbfa0
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400dbfa0
xor r14d, r14d
jmp 0x140034051
lea rcx, [rsp + 0x20]
call fcn.1400daab0
xor r15d, r15d
xor ebx, ebx
jmp 0x1400340c6
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14003404e
Function at 0x140036f90
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400aa820
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 0x14003701b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14003717a
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140037008
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c0204
test eax, eax
je 0x140037113
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 0x140037072
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140037188
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003705f
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c0204
test eax, eax
je 0x140037143
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 0x1400370c5
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140037196
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400370b6
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c0204
test eax, eax
je 0x1400370e6
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400a86d0
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400370f5
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400370c7
jb 0x1400371a4
test al, al
jns 0x140037109
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x1400370c5
jmp 0x1400370c7
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140037122
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400370c7
jb 0x1400371a4
mov rcx, rsi
test al, al
jns 0x140037135
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14003701b
jmp 0x1400370c7
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140037152
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400370c7
jb 0x1400371a4
mov rcx, rsi
test al, al
jns 0x140037169
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x140037072
jmp 0x1400370c7
dec r14
jne 0x140036fef
jmp 0x14003701b
dec r14
jne 0x140037046
jmp 0x140037072
dec r14
jne 0x14003709d
jmp 0x1400370c5
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string:1221:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400dbfa0
int3
Function at 0x14003a690
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401899a0]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a6f0
lea rsi, [0x140189998]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a86d0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401899a0]
call fcn.1400a7370
cmp dword [0x1401899a0], 0xffffffff
jne 0x14003a6cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400aa820
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400a721c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401899e8]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a7b0
lea r8, [0x1401899b8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003a8b0
mov qword [0x140189998], rsi
lea rcx, [0x1401899a0]
call fcn.1400a7408
jmp 0x14003a6cc
lea rcx, [0x1401899e8]
call fcn.1400a7370
cmp dword [0x1401899e8], 0xffffffff
jne 0x14003a781
xorps xmm0, xmm0
movups xmmword [0x1401899d8], xmm0
movups xmmword [0x1401899c8], xmm0
movups xmmword [0x1401899b8], xmm0
lea rcx, [0x1401899b8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401899e8]
call fcn.1400a7408
jmp 0x14003a781

Function at 0x14003a800
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401899e8]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a83b
movzx eax, word [0x1401899b8]
cmp eax, 9
jne 0x14003a883
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401899e8]
call fcn.1400a7370
cmp dword [0x1401899e8], 0xffffffff
jne 0x14003a825
xorps xmm0, xmm0
movups xmmword [0x1401899d8], xmm0
movups xmmword [0x1401899c8], xmm0
movups xmmword [0x1401899b8], xmm0
lea rcx, [0x1401899b8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401899e8]
call fcn.1400a7408
jmp 0x14003a825
test eax, eax
je 0x14003a836
cmp eax, 6
jne 0x14003a893
mov eax, 2
jmp 0x14003a836
cmp eax, 0xc
jne 0x14003a89f
mov eax, 3
jmp 0x14003a836
mov eax, 4
jmp 0x14003a836
Function at 0x14003bfa0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14003c08e
cmp qword [rsi], 0
jne 0x14003c08e
cmp dword [rsi + 0x14], 0
jne 0x14003c08e
cmp qword [rsi + 8], 0
jne 0x14003c08e
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14003c010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003c060
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c008
mov qword [rsi], r14
call fcn.140077d70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003c04a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14003c076
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c042
mov qword [rsi + 8], r14
call fcn.140077d70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140077d70
mov rcx, qword [rsi]
call fcn.140071e10
mov qword [rsi], 0
jmp 0x14003bff6
call fcn.140077d70
mov rcx, qword [rsi + 8]
call fcn.140071e10
mov qword [rsi + 8], 0
jmp 0x14003c02f
mov rcx, rsi
call fcn.1400fb240
mov rax, qword [rsi]
jmp 0x14003bfda