joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000916c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x180009194
lea rcx, [0x18000fb64]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x1800091a4
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1800091cc
lea rcx, [0x18000fb70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x1800091d4
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180009204
lea rdx, str._JAVA_LAUNCHER_DEBUG
mov byte [0x180015180], 1
lea rcx, str._____s_____n
call fcn.180009270
add rsp, 0x28
ret

Function at 0x180009240
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
test rax, rax
jne 0x180009268
lea rcx, str.strdup
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret
Function at 0x1800098e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rbp, rdx
mov edi, 2
mov rdx, 0xffffffffffffffea
mov r8d, edi
mov r12, r9
mov esi, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov rbx, rax
test rax, rax
js 0x180009a81
lea r8d, [rdi + 0x14]
mov rdx, rbp
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
js 0x180009a81
xor edx, edx
cmp byte [rbp + 1], 0x4b
sete dl
xor eax, eax
cmp byte [rbp + 3], 6
sete al
xor ecx, ecx
and edx, eax
cmp byte [rbp + 2], 5
cmove ecx, edx
xor eax, eax
cmp byte [rbp], 0x50
sete al
test eax, ecx
mov ecx, esi
je 0x180009987
mov r8, rbx
mov rdx, rbp
mov qword [rsp + 0x20], r12
mov r9, r13
call fcn.180009aa4
jmp 0x180009a84
mov r8d, edi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov r15, rax
test rax, rax
js 0x180009a81
mov r14d, 0x10015
mov r8d, edi
cmp rax, r14
mov ebx, r14d
mov ecx, esi
cmovl rbx, rax
mov rdx, rbx
neg rdx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
test rax, rax
js 0x180009a81
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180009a81
mov r8d, ebx
mov rdx, rax
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
js 0x180009a78
movsxd r14, eax
add eax, 0xffffffea
movsxd rbx, eax
add r14, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x180009a78
xor edx, edx
cmp byte [rbx + 1], 0x4b
sete dl
xor eax, eax
cmp byte [rbx + 3], 6
sete al
xor ecx, ecx
and edx, eax
cmp byte [rbx + 2], 5
cmove ecx, edx
xor eax, eax
cmp byte [rbx], 0x50
sete al
test eax, ecx
je 0x180009a4b
movzx eax, byte [rbx + 0x14]
movzx ecx, byte [rbx + 0x15]
shl rcx, 8
or rcx, rax
lea rax, [rbx + 0x16]
add rax, rcx
cmp rax, r14
je 0x180009a50
dec rbx
jmp 0x180009a02
mov r8d, 0x16
mov rdx, rbx
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
sub rbx, r14
mov ecx, esi
lea r8, [r15 + rbx]
jmp 0x180009972
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
or eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180009d7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov r14, r8
mov rbx, rdx
mov esi, ecx
je 0x180009ed3
cmp qword [rdx], 0xffffffffffffffff
je 0x180009ed3
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
test rax, rax
js 0x180009ed3
mov rcx, qword [rbx + 8]
inc rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180009ed3
mov r8d, dword [rbx + 8]
mov rdx, rax
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x180009eca
cmp dword [rbx + 0x18], 0
jne 0x180009e1c
mov byte [rax + rdi], 0
test r14, r14
je 0x180009e14
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov rax, rdi
jmp 0x180009ed5
cmp dword [rbx + 0x18], 8
jne 0x180009eca
and qword [rsp + 0x50], 0
lea r8, str.1.2.13
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x60], 0
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
lea edx, [r9 - 0x67]
call fcn.180003958
test eax, eax
js 0x180009eca
mov rcx, qword [rbx]
inc rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180009eca
mov ecx, dword [rbx]
mov edx, 1
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.1800022ec
mov rcx, rdi
test eax, eax
jns 0x180009ea0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
jmp 0x180009ecd
mov rax, qword [rbx]
mov byte [rsi + rax], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x20]
call fcn.180003900
test eax, eax
js 0x180009e9b
test r14, r14
je 0x180009ec5
mov eax, dword [rbx]
mov dword [r14], eax
mov rax, rsi
jmp 0x180009ed5
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret

Function at 0x18000a2d8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
mov r14, r9
mov rdi, rdx
mov esi, ecx
test rdx, rdx
js 0x18000a329
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
cmp rax, rdi
jne 0x18000a329
mov r8d, ebp
mov rdx, r14
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
cmp rcx, rbp
jne 0x18000a329
mov bl, 1
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000a348
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180015060]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, qword [rbp + 0xc0]
lea rax, [rsp + 0x50]
mov esi, r9d
mov qword [rsp + 0x20], rax
mov r14d, r8d
mov r9d, 0x20019
xor r8d, r8d
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x18000a3b8
mov r8, rbx
lea rdx, str.SoftwareJavaSoftJRE
lea rcx, str.FindPublicJREHome:_RegOpenKeyEx__s_s__failed._n
call fcn.180009270
jmp 0x18000a45f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, str.RuntimeLib
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x28], rax
mov r9d, 2
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x18000a410
lea rcx, str.FindPublicJREHome:_GetStringFromRegistry__s_sRuntimeLib__failed._n
lea rdx, str.SoftwareJavaSoftJRE
mov r8, rbx
call fcn.180009270
jmp 0x18000a454
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.18000a544
test al, al
jne 0x18000a485
lea rdx, [rsp + 0x60]
lea rcx, str.IsFileVersionEqual:_GetFileVersion__s__failed._n
call fcn.180009270
lea r9, [rsp + 0x60]
mov r8, rbx
lea rdx, str.SoftwareJavaSoftJRE
lea rcx, str.FindPublicJREHome:_ignore__s_sRuntimeLib__s_:_file_version_doesnt_match._n
call fcn.180009270
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18000b420
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp dword [rsp + 0x40], r14d
jne 0x18000a439
cmp dword [rsp + 0x48], esi
jne 0x18000a439
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.JavaHome
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x28], rax
mov r9d, 2
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x18000a4de
lea rcx, str.FindPublicJREHome:_GetStringFromRegistry__s_sJavaHome__failed._n
jmp 0x18000a3ff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rdx, dword [rbp + 0xc8]
lea r9, [rsp + 0x60]
lea r8, [0x18000f980]
mov rcx, rdi
call fcn.180007780
test eax, eax
jns 0x18000a524
mov edx, dword [rbp + 0xc8]
lea r8, [rsp + 0x60]
lea rcx, str.FindPublicJREHome:_JLI_Snprintf__d___s__failed._n
call fcn.180009270
jmp 0x18000a45f
mov r9, rdi
lea rdx, str.SoftwareJavaSoftJRE
mov r8, rbx
lea rcx, str.FindPublicJREHome:__s_sJavaHome__s_._n
call fcn.180009270
mov al, 1
jmp 0x18000a461
Function at 0x18000a544
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r14, r8
lea rdx, [rax + 0x20]
mov rbp, rcx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x18000a5f4
mov ecx, esi
call sym.jli.dll_JLI_MemAlloc
mov rdi, rax
test rax, rax
jne 0x18000a597
mov edx, esi
lea rcx, str.GetFileVersion:_JLI_MemAlloc__d__failed._n
call fcn.180009270
xor al, al
jmp 0x18000a5f6
mov r9, rdi
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18000a5dd
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, [0x18000f5e4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x18000a5ec
mov rcx, qword [rsp + 0x28]
mov bl, 1
mov eax, dword [rcx + 8]
mov dword [r15], eax
mov eax, dword [rcx + 0xc]
mov dword [r14], eax
jmp 0x18000a5ec
mov rdx, rbp
lea rcx, str.GetFileVersion:_GetFileVersionInfo__s__failed._n
call fcn.180009270
mov rcx, rdi
call sym.jli.dll_JLI_MemFree
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18000a610
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x180015060]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edi, edx
mov rsi, rcx
lea rdx, [rsp + 0x60]
xor ecx, ecx
mov r8d, 0x104
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x18000a66e
lea rcx, str.GetPublicJREHome:_GetModuleFileName___failed._n
call fcn.180009270
jmp 0x18000a759
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.18000a544
test al, al
jne 0x18000a69c
lea rdx, [rsp + 0x60]
lea rcx, str.GetPublicJREHome:_GetFileVersion__s__failed._n
call fcn.180009270
jmp 0x18000a759
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareJavaSoftJRE
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x18000a6dc
lea rdx, str.SoftwareJavaSoftJRE
lea rcx, str.Error:_opening_registry_key__s
call sym.jli.dll_JLI_ReportErrorMessage
jmp 0x18000a759
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x48]
and qword [rsp + 0x30], 0
lea r8, [rbp + 0x70]
and qword [rsp + 0x28], 0
mov edx, ebx
mov rcx, qword [rsp + 0x40]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc ebx
cmp eax, 0xea
je 0x18000a6dc
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x18000a753
mov r9d, dword [rsp + 0x4c]
lea rdx, [rbp + 0x70]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.18000a348
test al, al
je 0x18000a6dc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x18000a75b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.18000b420
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18000ac74
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0x2a
mov rbx, rcx
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x18000ac9a
mov rax, rbx
jmp 0x18000acf4
mov dl, 0x3b
mov rcx, rbx
call fcn.1800090c0
mov rcx, rax
mov rsi, rax
call fcn.18000a9b0
test eax, eax
je 0x18000acc2
mov dl, 0x3b
mov rcx, rsi
call fcn.180008fc8
mov rdi, rax
jmp 0x18000acc5
mov rdi, rbx
mov rcx, rsi
call fcn.180008f74
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18000acf1
mov r8, rdi
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov rdx, rbx
call fcn.18000772c
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140003590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400035c4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400035b0
ret
Function at 0x140007f80
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000804c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000804c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140008065
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000803c
cmp byte [rax], 0x5c
jne 0x140008036
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140008036
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140008022
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140008033
test r8b, 0x10
jne 0x140008036
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140008036
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140004430
test edi, edi
jne 0x140007fa0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140004420
int3

Function at 0x14000cd8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cdd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cdd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cdd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cdd6
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cdd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000cdd8
xor al, al
add rsp, 0x28
ret

Function at 0x14001716c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140016f5c
Function at 0x14001f770
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001f7a0
xor eax, eax
jmp 0x14001f863
mov rbp, rbx
cmp word [rax], si
je 0x14001f7c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001f7ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001f7a8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001def4
movsxd r14, eax
test eax, eax
jne 0x14001f803
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001f799
mov rcx, r14
call fcn.14001c54c
mov rdi, rax
test rax, rax
jne 0x14001f81c
xor ecx, ecx
call fcn.14001ae4c
jmp 0x14001f7f8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001def4
test eax, eax
jne 0x14001f84d
mov rcx, rdi
call fcn.14001ae4c
jmp 0x14001f857
xor ecx, ecx
call fcn.14001ae4c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400257cc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400125a4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140025856
cmp byte [rbp - 0x21], r15b
je 0x140025851
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002588c
call fcn.14001b1a8
test eax, eax
jne 0x140025878
cmp byte [rbp - 0x21], r15b
je 0x140025870
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002588c
cmp byte [rbp - 0x21], r15b
je 0x140025889
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400167ec
test eax, eax
jne 0x14002592c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400125a4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400258cb
cmp byte [rbp - 0x21], r15b
je 0x140025900
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140025900
call fcn.14001b1a8
test eax, eax
jne 0x1400258ec
cmp byte [rbp - 0x21], r15b
je 0x1400258e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140025900
cmp byte [rbp - 0x21], r15b
je 0x1400258fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400167ec
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002592c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002592f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002593d
mov rcx, rdi
call fcn.14001ae4c
cmp byte [rbp + 0x3f], r15b
je 0x14002594c
mov rcx, qword [rbp + 0x27]
call fcn.14001ae4c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001aac0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001ac4b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x140616f60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140038a00
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x14001ab25
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x14001ab34
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x14001ab53
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x14001ab63
cmp rbx, 0x1000
jae 0x14001ab2b
jmp 0x14001abcd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x14001ab75
xor edx, edx
jmp 0x14001abc4
mov rcx, qword [0x140616f60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140038a00
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x14001ab59
jmp 0x14001ab48
call fcn.14006d060
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.14003d0e0
lea rax, [0x1407abab9]
mov ebx, 0x18
nop dword [rax]
call fcn.14003d960
mov rax, qword [rsp + 0x38]
call fcn.14003d6a0
lea rax, [0x1407acc70]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.14003d960
mov rax, qword [rsp + 0x30]
call fcn.14003d6a0
call fcn.14003d320
call fcn.14003d140
lea rax, [0x1407b482c]
mov ebx, 0x21
call fcn.14003b740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140069920
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14001aac0
Function at 0x14001ac80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001aea6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x140616f58]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140038a80
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x14001acf3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x14001ad02
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x14001ad25
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x14001ad35
cmp rbx, 0x1000
jae 0x14001acf9
nop
jmp 0x14001adb8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x14001ad4d
xor esi, esi
jmp 0x14001adaa
mov rax, qword [0x140616f58]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140038a80
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x14001ad2b
jmp 0x14001ad16
call fcn.14006d060
xorps xmm15, xmm15
mov r14, qword [0x1410725b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x14001ae40
nop dword [rax + rax]
call fcn.14003d0e0
lea rax, [0x1407acc89]
mov ebx, 0x19
call fcn.14003d960
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.14003d6a0
lea rax, [0x1407acc70]
mov ebx, 0x19
call fcn.14003d960
mov eax, dword [rsp + 0x34]
call fcn.14003d6a0
nop
call fcn.14003d320
call fcn.14003d140
lea rax, [0x1407a075b]
mov ebx, 0xd
call fcn.14003b740
nop dword [rax + rax]
cmp eax, 0x5af
je 0x14001ade0
call fcn.14003d0e0
lea rax, [0x1407acc89]
mov ebx, 0x19
call fcn.14003d960
mov rax, qword [rsp + 0x38]
call fcn.14003d6a0
lea rax, [0x1407acc70]
mov ebx, 0x19
call fcn.14003d960
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.14003d6a0
call fcn.14003d320
call fcn.14003d140
lea rax, [0x1407b2ad5]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.14003b740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140069920
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.14001ac80