joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Execute command
Terminate process
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x160]
mov ecx, 0x104
call qword [0x14024a860]
xor ebx, ebx
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0xb21642c9
imul r8d
add edx, r8d
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x5c
sub r8d, ecx
add r8b, 0x1e
lea eax, [r8 - 0x30]
cmp al, 9
jbe 0x1400011ea
lea eax, [r8 - 0x41]
cmp al, 0x19
jbe 0x1400011ea
lea eax, [r8 - 0x61]
cmp al, 0x19
jbe 0x1400011ea
test rbx, rbx
js 0x1400011ef
dec rbx
jmp 0x1400011ef
mov byte [rsp + rbx + 0x40], r8b
inc rbx
cmp rbx, 7
jl 0x1400011a0
lea r9, [rsp + 0x40]
mov byte [rsp + 0x47], 0
lea r8, [rsp + 0x160]
lea rdx, str._s_s.tmp
lea rcx, [rsp + 0x50]
call fcn.140001070
lea rdx, [0x14000331c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edx, 1
lea rcx, [0x140005040]
mov r9, rax
mov r8d, 0x245200
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x14024a8e8]
lea rdx, [0x14024a8e0]
call qword [0x14024a8d0]
mov r8d, dword [0x14024a8e0]
xor edx, edx
mov ecx, 0x1fffff
call qword [0x14024a890]
mov rdi, rax
test rax, rax
jne 0x1400012ab
lea rcx, [0x140003320]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400010d0
mov ecx, 0x1388
call qword [0x14024a898]
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x290], rsi
mov r8, rbx
lea rax, [rsp + 0x50]
inc r8
cmp byte [rax + r8], 0
jne 0x1400012c2
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rdi
call qword [0x14024a8b8]
mov rsi, rax
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400012f0
mov r9, rbx
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call qword [0x14024a8c0]
mov r9, qword [0x14024a828]
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [0x14024a8c8]
mov rcx, rdi
call qword [0x14024a870]
mov rsi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400018b0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a878
test rax, rax
je 0x14000105a
lea rcx, str.Windows_original_main_args:_n
call fcn.14000a710
xor ebx, ebx
cmp dword [0x140028c9c], ebx
jle 0x14000105a
xor edi, edi
mov r8, qword [0x140028ca0]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.14000a710
inc ebx
add rdi, 8
cmp ebx, dword [0x140028c9c]
jl 0x140001033
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.1400042e0
call fcn.1400042d0
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140004384
mov rbx, rax
call fcn.1400042d8
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010a6
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x140001093
mov rdx, qword [0x140027020]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010bd
mov rdx, qword [rbx]
mov rcx, qword [0x140027018]
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov r9, qword [0x140028a20]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14001e438]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001e428]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140028a28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003bfc
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001140
Capabilities:
Query environment variable

Disassembly:
test ecx, ecx
jle 0x140001358
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rdx
xor edi, edi
movsxd rbp, ecx
mov rbx, qword [r12 + rdi*8]
test rdi, rdi
jle 0x140001240
cmp byte [rbx], 0x2d
mov rsi, qword [r12 + rdi*8 - 8]
je 0x1400011b6
lea rdx, [0x14001e5dc]
mov rcx, rsi
call fcn.14000ae40
test eax, eax
je 0x140001334
lea rdx, str._classpath
mov rcx, rsi
call fcn.14000ae40
test eax, eax
je 0x140001334
cmp byte [rbx], 0x2d
jne 0x140001340
lea rdx, str._version
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, str._fullversion
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, str._help
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, [0x14001e5a0]
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, str._jar
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, [0x14001e594]
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x140001340
lea rdx, str._XX:NativeMemoryTracking
mov rcx, rbx
call fcn.14000447c
test eax, eax
jne 0x140001334
lea rcx, str._XX:NativeMemoryTracking
call fcn.14000ad80
mov rcx, rbx
mov rsi, rax
call fcn.14000ad80
cmp rax, rsi
jbe 0x140001334
add rbx, rsi
mov rcx, rbx
call fcn.14000ad80
lea rsi, [rax + rsi + 0xa]
mov rcx, rsi
call fcn.140004384
mov r13, rax
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9, qword [str.NMT_LEVEL_]
lea r8, str._s_d_s
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.14000469c
mov rcx, r13
call fcn.14000ad30
call fcn.140004474
test al, al
je 0x140001334
mov rcx, rsi
call fcn.140004384
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9, qword [str.NMT_LEVEL_]
lea r8, str._s_d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14000469c
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_env_var_is__s_n
mov rdx, rbx
call fcn.14000a710
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_putenv_arg__s_n
mov rdx, r13
call fcn.14000a710
mov rcx, rbx
call fcn.14000a878
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_got_value__s_n
mov rdx, rax
call fcn.14000a710
mov rcx, rbx
call fcn.14000aa70
inc rdi
cmp rdi, rbp
jl 0x140001168
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140001988
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x150
mov rax, qword [0x1400270d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
movsxd rbp, ecx
lea rcx, str.CLASSPATH
mov r12, rdx
mov word [rsp + 0x20], 0x3b
call fcn.14000a878
mov edi, 0x28
test rax, rax
je 0x140001a26
mov rcx, rax
call fcn.140006624
mov rcx, rax
mov rsi, rax
call fcn.14000ad80
mov rcx, rsi
lea rbx, [rax + 0x28]
call fcn.14000ad80
cmp rbx, rax
jbe 0x140001a26
mov rcx, rsi
call fcn.14000ad80
lea rcx, [rdi + rax]
call fcn.140004384
lea rdx, str._Denv.class.path_s
mov r8, rsi
mov rcx, rax
mov rbx, rax
call fcn.14000b314
xor edx, edx
mov rcx, rbx
call fcn.140001428
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140004550
test al, al
jne 0x140001a4c
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.1400046f4
xor al, al
jmp 0x140001b14
lea rcx, [rsp + 0x30]
call fcn.14000ad80
lea rcx, [rdi + rax]
call fcn.140004384
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000b314
xor edx, edx
mov rcx, rbx
call fcn.140001428
xor esi, esi
test rbp, rbp
jle 0x140001aa9
mov rcx, qword [r12 + rsi*8]
call fcn.14000ad80
lea rcx, [rsp + 0x30]
lea ebx, [rdi + rax]
call fcn.14000ad80
inc rsi
lea edi, [rbx + rax + 1]
cmp rsi, rbp
jl 0x140001a87
lea eax, [rdi + 1]
movsxd rcx, eax
call fcn.140004384
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000b5f0
xor edi, edi
test rbp, rbp
jle 0x140001afb
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b550
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000b550
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b550
inc rdi
cmp rdi, rbp
jl 0x140001acd
mov rcx, rbx
call fcn.14000ad80
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.140001428
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000b6c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400020ac
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rcx, [0x14001ea38]
movaps xmmword [rsp + 0x20], xmm6
call fcn.14000a878
lea rcx, [0x14001ea20]
mov rbp, rax
call fcn.14000a878
mov rdi, rax
movss xmm6, dword [0x14001ea1c]
movss dword [rsp + 0x50], xmm6
test rax, rax
je 0x1400021e1
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbp
call fcn.1400067ec
mov rbx, rax
test rbp, rbp
je 0x14000216b
test rax, rax
je 0x140002127
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rbp
call fcn.140007494
mov rsi, rax
test rax, rax
jne 0x140002145
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbp
movss dword [rsp + 0x50], xmm6
call fcn.140007494
mov rsi, rax
test rax, rax
je 0x14000218d
call fcn.140006734
movss xmm0, dword [rsp + 0x50]
call fcn.1400067ac
mov edx, dword [rsp + 0x58]
mov rcx, rsi
call fcn.1400066ac
mov rcx, rsi
call fcn.140004408
jmp 0x14000218d
call fcn.140006734
test rbx, rbx
je 0x140002185
movss xmm0, dword [rsp + 0x50]
call fcn.1400067ac
mov rcx, rbx
jmp 0x140002188
mov rcx, rdi
call fcn.1400066f4
test rbx, rbx
je 0x14000219a
mov rcx, rbx
call fcn.140004408
mov rdx, rbp
mov rcx, rdi
call fcn.140006764
lea rcx, [0x14001ea08]
call fcn.1400050b8
lea rcx, [0x14001ea20]
call fcn.1400050b8
lea rcx, [0x14001ea38]
call fcn.1400050b8
mov rcx, qword [0x140028a80]
call fcn.140004408
mov rcx, qword [0x140028a78]
call fcn.140004408
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004440
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a878
test rax, rax
je 0x14000446f
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x140028ad0], 1
call fcn.140004410
add rsp, 0x28
ret

Function at 0x140004598
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov ebx, r9d
mov rbp, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x14]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000460c
cmp dword [rsp + 0x34], 1
jne 0x14000460c
cmp dword [rsp + 0x30], ebx
jae 0x14000460c
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000460c
mov al, 1
jmp 0x14000460e
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140004968
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400270d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x30], 0
mov r13, rcx
mov qword [rsp + 0x48], 0xffffffff80000001
xor edi, edi
mov qword [rsp + 0x50], 0xffffffff80000002
mov rcx, qword [rsp + rdi*8 + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140004b05
mov r12, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
mov r9d, 0x104
xor edx, edx
mov rcx, r12
xor esi, esi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140004b05
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.1400077d0
test eax, eax
je 0x140004a46
test rbx, rbx
je 0x140004a39
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400076c0
test eax, eax
jle 0x140004a46
mov rcx, rbx
call fcn.140004408
lea rcx, [rsp + 0x60]
call fcn.1400043dc
mov rbx, rax
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov edx, esi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140004a07
test rbx, rbx
je 0x140004b05
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
test eax, eax
je 0x140004aa6
call fcn.140004408
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004b05
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004b05
call fcn.140004408
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.JavaHome
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140004a99
test rcx, rcx
je 0x140004af3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.1400043dc
mov rbx, rax
test rax, rax
jne 0x140004b4d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004b15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x1400049b3
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000b6c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004b5d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140004b24
Function at 0x140005f2c
Capabilities:
Create thread
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov r9, r8
mov rbp, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], 0x10000
call fcn.14000cffc
mov rbx, rax
test rax, rax
jne 0x140005f93
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.14000cffc
mov rbx, rax
cmp dword [0x140027080], 0
je 0x140006050
lea rcx, str.J2D_D3D
call fcn.14000a878
test rax, rax
je 0x140005fd0
lea rdx, str.false
mov rcx, rax
call fcn.14001d344
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000a878
mov rdi, rax
test rax, rax
je 0x140006005
lea rdx, str.false
mov rcx, rax
call fcn.14001d344
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
jmp 0x14000600b
mov ecx, dword [0x140027080]
test ecx, ecx
jns 0x140006042
and dword [0x140027080], 0
test rdi, rdi
je 0x140006050
lea rdx, str.true
mov rcx, rdi
call fcn.14001d344
mov ecx, dword [0x140027080]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140027080], ecx
test ecx, ecx
je 0x140006050
lea rcx, str.preloadD3D
call fcn.140005dc4
test rbx, rbx
je 0x14000607a
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006083
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140028ae0], 0
je 0x14000609a
mov rax, qword [0x140028b00]
test rax, rax
je 0x14000609a
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400062ec
Capabilities:
Enumerate files 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, 0x20
mov r14, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.140004384
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140004384
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140004384
lea rdx, [0x140028b10]
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140006363
mov rcx, rbp
call fcn.140004408
mov rcx, rsi
call fcn.1400060b4
xor eax, eax
jmp 0x1400064a5
lea r15, [0x140028b3c]
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov r12, qword [rbp + 8]
test r12, r12
je 0x140006382
and qword [rbp + 8], 0
jmp 0x14000639b
mov rcx, qword [rbp]
lea rdx, [0x140028b10]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb r12, r12
and r12, r15
test r12, r12
je 0x140006487
mov rcx, r12
call fcn.14000ad80
cmp eax, 4
jl 0x140006372
movsxd rcx, eax
cmp byte [rcx + r12 - 4], 0x2e
jne 0x140006372
lea rbx, [rcx + r12 - 3]
lea rdx, [0x14001fd84]
mov rcx, rbx
call fcn.14000ae40
test eax, eax
je 0x1400063e7
lea rdx, [0x14001fd80]
mov rcx, rbx
call fcn.14000ae40
test eax, eax
jne 0x140006372
mov edx, 0x3b
mov rcx, r12
call fcn.14000ce7c
test rax, rax
jne 0x140006372
mov rcx, r14
call fcn.14000ad80
mov rcx, r12
mov rdi, rax
call fcn.14000ad80
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140004384
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000afe0
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, r12
call fcn.14000afe0
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140006474
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x140006458
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.1400043b0
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140006372
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 8]
call fcn.140004408
mov rcx, rbp
call fcn.140004408
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140006624
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0x2a
mov rdi, rcx
call fcn.14000ce7c
test rax, rax
jne 0x14000664a
mov rax, rdi
jmp 0x14000669a
mov dl, 0x3b
mov rcx, rdi
call fcn.1400061d4
mov rcx, rax
mov rbx, rax
call fcn.1400064c4
mov dl, 0x3b
mov rcx, rbx
call fcn.140006110
mov rcx, rbx
mov rsi, rax
call fcn.1400060b4
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a878
test rax, rax
je 0x140006697
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.14000a710
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006844
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 r12
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x14000699b
cmp qword [rdx], 0xffffffffffffffff
je 0x14000699b
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14000d188
test rax, rax
js 0x14000699b
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000c144
mov rbx, rax
test rax, rax
je 0x14000699b
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.140018d18
movsxd rcx, eax
cmp rcx, r12
jne 0x140006993
cmp dword [rdi + 0x18], 0
jne 0x1400068e5
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x1400068dd
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x14000699d
cmp dword [rdi + 0x18], 8
jne 0x140006993
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.11
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.140007bdc
test eax, eax
js 0x140006993
mov rcx, qword [rdi]
inc rcx
call fcn.14000c144
mov rsi, rax
test rax, rax
je 0x140006993
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.140007db4
mov rcx, rbx
test eax, eax
jns 0x14000696a
call fcn.14000aa70
mov rcx, rsi
jmp 0x140006996
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000aa70
lea rcx, [rsp + 0x20]
call fcn.140009438
test eax, eax
js 0x140006965
test rbp, rbp
je 0x14000698e
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x14000699d
mov rcx, rbx
call fcn.14000aa70
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x140006a3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea rdx, [r8 - 0x14]
xor r8d, r8d
mov edi, ecx
call fcn.14000d188
mov rsi, rax
test rax, rax
jns 0x140006a6a
or rax, 0xffffffffffffffff
jmp 0x140006aaa
mov r8d, 0x14
mov rdx, rbx
mov ecx, edi
call fcn.140018d18
test eax, eax
js 0x140006a64
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
or rax, 0xffffffffffffffff
cmp ecx, 0x7064b50
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006abc
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
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov rdx, 0xffffffffffffffea
mov r8d, edi
mov ebp, ecx
call fcn.14000d188
mov rbx, rax
test rax, rax
js 0x140006c4c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.140018d18
test eax, eax
js 0x140006c4c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140006b59
mov rcx, rsi
call fcn.1400069bc
test eax, eax
je 0x140006b51
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140006a3c
mov rbx, rax
mov rax, rbx
jmp 0x140006c50
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.14000d188
mov r13, rax
test rax, rax
js 0x140006c4c
mov r12d, 0x10015
mov r8d, edi
mov ecx, ebp
cmp rax, r12
mov ebx, r12d
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.14000d188
test rax, rax
js 0x140006c4c
mov ecx, r12d
call fcn.14000c144
mov rdi, rax
test rax, rax
je 0x140006c4c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.140018d18
test eax, eax
js 0x140006c44
movsxd r12, eax
add eax, 0xffffffea
movsxd rbx, eax
add r12, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140006c44
cmp byte [rbx], 0x50
jne 0x140006c1b
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140006c1b
movzx eax, byte [rbx + 0x15]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 0x14]
or rcx, rax
lea rax, [rcx + rbx + 0x16]
cmp rax, r12
je 0x140006c20
dec rbx
jmp 0x140006bd2
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000afe0
mov rcx, rdi
call fcn.14000aa70
sub rbx, r12
add rbx, r13
jmp 0x140006b35
mov rcx, rdi
call fcn.14000aa70
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret