joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d9e0
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.140081a30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140086e80
cmp byte [rdi + 0x17], 0
jns 0x14002da52
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140086f00
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400b1b00
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002da90
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.140081a30
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140086e80
cmp byte [rdi + 0x17], 0
jns 0x14002db12
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002dba5
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 0x14002db88
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14002dbd1
call fcn.140081a50
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 0x14002dba5
call fcn.140081a50
mov rcx, r14
call fcn.14007b770
lea rcx, [rsp + 0x60]
call fcn.140086f00
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b1b00
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002db80
Function at 0x14002dbe0
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.140081a30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140086e80
cmp byte [rdi + 0x17], 0
jns 0x14002dc52
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.140086f00
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400b1b00
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002dca0
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.1400b3c50
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002dd3f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400ce098
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140081c60
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140032d70
mov rcx, rsi
mov rdx, r14
call fcn.140081e00
mov rcx, r14
call fcn.140081d90
mov rcx, rbx
call fcn.140081d90
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b1b00
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002dd70
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.1400b3c50
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 0x14002de05
cmp word [rsp + 0x70], 0
je 0x14002de05
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400ce098
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140081c60
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400b1b00
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.140081be0
mov rcx, rdi
call fcn.14002dca0
test al, al
jne 0x14002de57
lea rax, [0x140152d78]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140081c60
jmp 0x14002de64
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140081c40
lea rcx, [rsp + 0x40]
call fcn.140081d90
jmp 0x14002dde7
Function at 0x14002de80
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 [0x140189898], 0
jne 0x14002e121
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.140081a30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140086e80
test rsi, rsi
je 0x14002e125
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140081be0
mov ecx, 0x65
mov rdx, rdi
call fcn.14002f960
test al, al
je 0x14002dfef
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.140032c00
mov rcx, rdi
mov rdx, rbx
call fcn.140081e00
mov rcx, rbx
call fcn.140081d90
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.140081a30
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140086e80
cmp byte [rsp + 0x47], 0
jns 0x14002dfd3
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140086f00
cmp edi, 0xffffffff
jne 0x14002e0b6
lea rcx, [rsp + 0x30]
call fcn.140081d90
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140081be0
mov ecx, 0x67
mov rdx, rdi
call fcn.14002f960
test al, al
je 0x14002e0a8
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.140081a30
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140086e80
cmp byte [rsp + 0x47], 0
jns 0x14002e077
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140086f00
cmp edi, 0xffffffff
je 0x14002e0a8
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002da90
test al, al
jne 0x14002e0d3
lea rcx, [rsp + 0x30]
call fcn.140081d90
xor esi, esi
jmp 0x14002e0ee
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002da90
test al, al
je 0x14002dfef
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140081da0
mov rcx, rdi
call fcn.140081d90
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140086f00
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400b1b00
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 0x14002e0f8
int3
Function at 0x14002eb30
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.1400b3c50
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14002ee70
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.14002f030
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14002ebc8
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002ec9a
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.1400b3c50
mov rcx, r15
mov rdx, r14
call fcn.14002efe0
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14002ecd7
mov rcx, r14
call fcn.14002eda0
test al, al
jne 0x14002ed2c
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x14002ec36
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14002ed25
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.1400185e0
mov rcx, r15
mov rdx, r14
call fcn.14002f030
mov rcx, rdi
mov rdx, r14
call fcn.140081e00
mov rcx, r14
call fcn.140081d90
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14002ec8e
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x14002ebef
lea rcx, [rsp + 0x40]
call fcn.140081d90
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14002ef70
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400b1b00
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 0x14002ecff
cmp byte [rsp + 0x57], 0
js 0x14002ecec
lea rcx, [rsp + 0x40]
jmp 0x14002ecf1
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14002ec17
lea rcx, [rsp + 0x58]
call fcn.14002eda0
test al, al
jne 0x14002ed13
mov edx, dword [rsp + 0x58]
jmp 0x14002ecde
lea rcx, [rsp + 0x58]
call fcn.14002eda0
test al, al
je 0x14002ec27
xor ebp, ebp
jmp 0x14002ec53
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x14002ec53
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14002eb30
mov ebp, eax
test eax, eax
jne 0x14002ec53
cmp byte [rsp + 0x57], 0
jns 0x14002ed69
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 0x14002ec53
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14002ec53
Function at 0x140030e60
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140030f30
mov eax, dword [rsi]
mov dword [0x14017a0c0], eax
test al, 1
jne 0x140030e81
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401898d8]
test rcx, rcx
jne 0x140030e9b
mov rcx, qword [0x1401898b0]
test rcx, rcx
je 0x140030ebf
jmp 0x140030ee1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401898d8], 0
mov rcx, qword [0x1401898b0]
test rcx, rcx
jne 0x140030ee1
and byte [0x14017a0c0], 0xfe
mov ecx, 0x18
call fcn.1400b064c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401898b0], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140030f16
call fcn.14002b750
cmp dword [rsi + 0x14], 0
jne 0x140030f0b
mov rcx, qword [0x1401898b0]
cmp byte [rcx + 0x17], 0
jns 0x140030f05
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400fdad0
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.1400e53d0
int3
Function at 0x1400338d0
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 [0x140189920]
test rdi, rdi
jne 0x140033983
mov ecx, 0x50
call fcn.1400b064c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400b064c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x1400339a5
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 [0x140189920], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400339b8
mov rcx, rax
call fcn.1400ce098
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400339d0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b1b00
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.1400e53d0
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.1400e53d0
int3
Function at 0x1400339d0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
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.14003cd20
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140033b5c
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x140153448]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140033bb3
lea rdx, [0x140153498]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140033ba2
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x14016adc0]
mov rbx, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x140033af2
test r12d, r12d
js 0x140033ba9
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400b064c
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
test r14, r14
je 0x140033b7c
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.1400e3f00
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x140033acb
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140033640
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140033b19
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140033b5c
mov rdi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x140033b54
add rdi, 0xffffffffffffffe8
jmp 0x140033b47
mov rcx, qword [rdi]
call fcn.1400b0688
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140033b54
test rdi, rdi
je 0x140033b8f
cmp byte [rdi + 0x17], 0
js 0x140033b33
jmp 0x140033b3b
mov rcx, rsi
call fcn.1400b0688
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b1b00
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
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.1400e53d0
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.1400e53d0
xor ebx, ebx
jmp 0x140033a7f
lea rcx, [rsp + 0x20]
call fcn.1400e3ee0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140033a7c
Function at 0x140036a00
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.1400b3c50
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 0x140036a8b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140036bea
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140036a78
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c9634
test eax, eax
je 0x140036b83
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 0x140036ae2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140036bf8
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140036acf
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c9634
test eax, eax
je 0x140036bb3
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 0x140036b35
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140036c06
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140036b26
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c9634
test eax, eax
je 0x140036b56
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b1b00
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 0x140036b65
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140036b37
jb 0x140036c14
test al, al
jns 0x140036b79
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x140036b35
jmp 0x140036b37
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140036b92
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140036b37
jb 0x140036c14
mov rcx, rsi
test al, al
jns 0x140036ba5
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x140036a8b
jmp 0x140036b37
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140036bc2
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140036b37
jb 0x140036c14
mov rcx, rsi
test al, al
jns 0x140036bd9
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x140036ae2
jmp 0x140036b37
dec r14
jne 0x140036a5f
jmp 0x140036a8b
dec r14
jne 0x140036ab6
jmp 0x140036ae2
dec r14
jne 0x140036b0d
jmp 0x140036b35
lea rcx, [0x14014d4c6]
lea rdx, str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400e53d0
int3
Function at 0x14003a560
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 [0x1401899d0]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a5c0
lea rsi, [0x1401899c8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b1b00
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401899d0]
call fcn.1400b07a0
cmp dword [0x1401899d0], 0xffffffff
jne 0x14003a59c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400b3c50
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.1400b064c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140189a18]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a680
lea r8, [0x1401899e8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003a780
mov qword [0x1401899c8], rsi
lea rcx, [0x1401899d0]
call fcn.1400b0838
jmp 0x14003a59c
lea rcx, [0x140189a18]
call fcn.1400b07a0
cmp dword [0x140189a18], 0xffffffff
jne 0x14003a651
xorps xmm0, xmm0
movups xmmword [0x140189a08], xmm0
movups xmmword [0x1401899f8], xmm0
movups xmmword [0x1401899e8], xmm0
lea rcx, [0x1401899e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140189a18]
call fcn.1400b0838
jmp 0x14003a651

Function at 0x14003a6d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140189a18]
mov ecx, dword [0x140186750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003a70b
movzx eax, word [0x1401899e8]
cmp eax, 9
jne 0x14003a753
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140189a18]
call fcn.1400b07a0
cmp dword [0x140189a18], 0xffffffff
jne 0x14003a6f5
xorps xmm0, xmm0
movups xmmword [0x140189a08], xmm0
movups xmmword [0x1401899f8], xmm0
movups xmmword [0x1401899e8], xmm0
lea rcx, [0x1401899e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140189a18]
call fcn.1400b0838
jmp 0x14003a6f5
test eax, eax
je 0x14003a706
cmp eax, 6
jne 0x14003a763
mov eax, 2
jmp 0x14003a706
cmp eax, 0xc
jne 0x14003a76f
mov eax, 3
jmp 0x14003a706
mov eax, 4
jmp 0x14003a706