joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400116f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov r10, rcx
mov rax, qword [r8]
cmp dword [rcx], 4
jne 0x140011710
sub r9, rax
cmp r9, 5
jae 0x140011717
xor esi, esi
jmp 0x1400118af
add rdx, rax
mov r12d, dword [r10 + 0x10]
add r9, 0xfffffffffffffffc
mov rax, 0xffffffffffffffff
xor esi, esi
lea r15, [0x14003a8b0]
mov r14d, 0x17
jmp 0x140011753
mov rcx, rsi
mov rsi, rcx
add rsi, 1
cmp rsi, r9
jae 0x140011892
mov cl, byte [rdx + rsi]
and cl, 0xfe
cmp cl, 0xe8
jne 0x140011740
mov rcx, rsi
sub rcx, rax
cmp rcx, 3
jbe 0x140011770
xor r12d, r12d
jmp 0x1400117b0
add cl, 0xff
shl r12d, cl
mov eax, r12d
and eax, 7
mov r12d, 0
test eax, eax
je 0x1400117b0
bt r14d, eax
jae 0x14001187f
movzx ecx, byte [rax + r15]
mov rdi, rsi
sub rdi, rcx
mov cl, byte [rdi + rdx + 4]
add cl, 1
cmp cl, 1
jbe 0x14001187f
mov r12d, eax
nop
movzx ebx, byte [rdx + rsi + 4]
lea eax, [rbx + 1]
cmp al, 1
jbe 0x1400117c9
lea r12d, [r12 + r12]
add r12d, 1
jmp 0x140011887
movzx eax, byte [rdx + rsi + 1]
movzx ecx, byte [rdx + rsi + 2]
shl ecx, 8
movzx ebp, byte [rdx + rsi + 3]
shl ebp, 0x10
shl ebx, 0x18
or ebx, eax
or ebx, ecx
or ebx, ebp
mov eax, dword [r10 + 0xc]
add eax, esi
mov r13d, 0xfffffffb
sub r13d, eax
add ebx, r13d
test r12d, r12d
je 0x140011855
mov eax, r12d
movzx r11d, byte [rax + r15]
shl r11d, 3
mov eax, 0x18
sub eax, r11d
mov ebp, ebx
mov ecx, eax
shr ebp, cl
add bpl, 1
cmp bpl, 1
ja 0x140011855
neg r11b
mov ebp, 0xffffffff
mov ecx, r11d
shl ebp, cl
not ebp
nop word cs:[rax + rax]
nop dword [rax + rax]
xor ebx, ebp
add ebx, r13d
mov edi, ebx
mov ecx, eax
shr edi, cl
add dil, 1
cmp dil, 2
jb 0x140011840
lea rcx, [rsi + 4]
mov eax, ebx
and eax, 0x1000000
mov ebp, eax
neg ebp
or ebp, eax
mov byte [rdx + rsi + 1], bl
mov byte [rdx + rsi + 2], bh
shr ebx, 0x10
mov byte [rdx + rsi + 3], bl
shr ebp, 0x18
mov byte [rdx + rsi + 4], bpl
jmp 0x14001188a
lea r12d, [rax + rax]
add r12d, 1
mov rcx, rsi
mov rax, rsi
jmp 0x140011743
mov rdx, rsi
sub rdx, rax
lea ecx, [rdx - 1]
shl r12d, cl
xor eax, eax
cmp rdx, 3
cmovbe eax, r12d
mov dword [r10 + 0x10], eax
mov rax, qword [r8]
add rax, rsi
mov qword [r8], rax
add dword [r10 + 0xc], esi
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14001adfc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001af34

Function at 0x14001f774
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f794
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001bab4
or eax, 0xffffffff
jmp 0x14001f796
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001f7cc
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001f7ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001bab4
or eax, 0xffffffff
jmp 0x14001f7ee
xor eax, eax
add rsp, 0x28
ret
Function at 0x10014e12c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100167d60], rdi
je 0x10014e18c
cmp rax, rdi
jne 0x10014e17f
mov r12d, 1
jmp 0x10014e18c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10014e165
mov eax, dword [0x100167d58]
cmp eax, 1
jne 0x10014e1a1
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10014e208
mov eax, dword [0x100167d58]
cmp eax, ebx
jne 0x10014e1fe
mov dword [0x100167d58], 1
lea r13, [0x100001e70]
lea rdi, [0x100001e58]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10014e1f0
cmp eax, ebx
jne 0x10014e1f0
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10014e1e5
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10014e1ce
cmp eax, ebx
je 0x10014e208
mov eax, 0xff
jmp 0x10014e350
mov dword [0x100165ecc], 1
mov eax, dword [0x100167d58]
cmp eax, 1
jne 0x10014e230
lea rdx, [0x100001e50]
lea rcx, [0x100001d90]
call sub.msvcrt.dll__initterm
mov dword [0x100167d58], 2
cmp r12d, ebx
jne 0x10014e23f
mov rax, rbx
xchg qword [0x100167d60], rax
cmp qword [0x100167d78], rbx
je 0x10014e267
lea rcx, [0x100167d78]
call fcn.10014ea1c
cmp eax, ebx
je 0x10014e267
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100167d78]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10014e27d
mov eax, 0xff
jmp 0x10014e350
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10014e302
cmp word [rcx], bx
je 0x10014e298
cmp edx, ebx
jne 0x10014e302
cmp word [rcx], bx
je 0x10014e2ae
cmp word [rcx], 0x20
ja 0x10014e2ae
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10014e298
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100066950
mov dword [0x100165ec8], eax
cmp dword [0x100165eac], ebx
jne 0x10014e2ec
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100165ecc], ebx
jne 0x10014e300
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100165ec8]
jmp 0x10014e350
cmp word [rcx], 0x22
jne 0x10014e315
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10014e289
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call 0x100200000
add rsp, 0x28
jmp 0x10014e12c
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140024998]
lea rcx, str._JAVA_LAUNCHER_DEBUG
mov qword [0x1400249a0], rax
call fcn.140009f2c
test rax, rax
je 0x140001068
lea rcx, str.Windows_original_main_args:_n
call fcn.140009dc4
xor ebx, ebx
cmp dword [0x140024984], ebx
jle 0x140001068
xor edi, edi
mov r8, qword [0x140024988]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.140009dc4
inc ebx
add rdi, 8
cmp ebx, dword [0x140024984]
jl 0x140001041
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140003f5c
call fcn.140003f4c
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140004000
mov rbx, rax
call fcn.140003f54
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b4
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a1
mov rdx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010cb
mov rdx, qword [rbx]
mov rcx, qword [0x140023018]
test rcx, rcx
jne 0x1400010da
mov rcx, qword [rbx]
mov r9, qword [0x140024720]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14001a440]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001a430]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140024728]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003880
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001720
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 [0x1400230c0]
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.140009f2c
mov esi, 0x28
test rax, rax
je 0x1400017a5
mov rcx, rax
call fcn.140006198
mov rcx, rax
mov rdi, rax
call fcn.14000a160
lea rcx, [rsi + rax]
call fcn.140004000
lea rdx, str._Denv.class.path_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14000a634
xor edx, edx
mov rcx, rbx
call fcn.14000121c
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400041cc
test al, al
jne 0x1400017cb
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.140004370
xor al, al
jmp 0x140001893
lea rcx, [rsp + 0x30]
call fcn.14000a160
lea rcx, [rsi + rax]
call fcn.140004000
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000a634
xor edx, edx
mov rcx, rbx
call fcn.14000121c
xor edi, edi
test rbp, rbp
jle 0x140001828
mov rcx, qword [r12 + rdi*8]
call fcn.14000a160
lea rcx, [rsp + 0x30]
lea ebx, [rsi + rax]
call fcn.14000a160
inc rdi
lea esi, [rbx + rax + 1]
cmp rdi, rbp
jl 0x140001806
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.140004000
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000a910
xor edi, edi
test rbp, rbp
jle 0x14000187a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000a870
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000a870
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a870
inc rdi
cmp rdi, rbp
jl 0x14000184c
mov rcx, rbx
call fcn.14000a160
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.14000121c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000a9e0
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 0x140001e2c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x14001a8d8]
call fcn.140009f2c
lea rcx, [0x14001a8c0]
mov rsi, rax
call fcn.140009f2c
mov rbx, rax
test rsi, rsi
je 0x140001e91
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.140006bf8
mov rdi, rax
test rax, rax
je 0x140001ea3
call fcn.1400062a8
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.140006220
mov rcx, rdi
call fcn.140004084
jmp 0x140001ea3
test rax, rax
je 0x140001eea
call fcn.1400062a8
mov rcx, rbx
call fcn.140006268
mov rdx, rsi
mov rcx, rbx
call fcn.1400062d8
lea rcx, [0x14001a8a8]
call fcn.140004d34
lea rcx, [0x14001a8c0]
call fcn.140004d34
lea rcx, [0x14001a8d8]
call fcn.140004d34
mov rcx, qword [0x140024780]
call fcn.140004084
mov rcx, qword [0x140024778]
call fcn.140004084
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400040bc
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009f2c
test rax, rax
je 0x1400040eb
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x1400247d0], 1
call fcn.14000408c
add rsp, 0x28
ret

Function at 0x140004214
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 0x140004288
cmp dword [rsp + 0x34], 1
jne 0x140004288
cmp dword [rsp + 0x30], ebx
jae 0x140004288
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 0x140004288
mov al, 1
jmp 0x14000428a
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 0x1400045e4
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 [0x1400230c0]
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 0x140004781
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 0x140004781
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.140006f34
test eax, eax
je 0x1400046c2
test rbx, rbx
je 0x1400046b5
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140006e24
test eax, eax
jle 0x1400046c2
mov rcx, rbx
call fcn.140004084
lea rcx, [rsp + 0x60]
call fcn.140004058
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 0x140004683
test rbx, rbx
je 0x140004781
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 0x140004722
call fcn.140004084
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004781
call fcn.140004084
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 0x140004715
test rcx, rcx
je 0x14000476f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140004058
mov rbx, rax
test rax, rax
jne 0x1400047c9
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004791
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x14000462f
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000a9e0
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 0x1400047d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x1400047a0
Function at 0x140005aac
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.14000c640
mov rbx, rax
test rax, rax
jne 0x140005b13
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.14000c640
mov rbx, rax
cmp dword [0x140023078], 0
je 0x140005bd0
lea rcx, str.J2D_D3D
call fcn.140009f2c
test rax, rax
je 0x140005b50
lea rdx, str.false
mov rcx, rax
call fcn.1400198e0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.140009f2c
mov rdi, rax
test rax, rax
je 0x140005b85
lea rdx, str.false
mov rcx, rax
call fcn.1400198e0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
jmp 0x140005b8b
mov ecx, dword [0x140023078]
test ecx, ecx
jns 0x140005bc2
and dword [0x140023078], 0
test rdi, rdi
je 0x140005bd0
lea rdx, str.true
mov rcx, rdi
call fcn.1400198e0
mov ecx, dword [0x140023078]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140023078], ecx
test ecx, ecx
je 0x140005bd0
lea rcx, str.preloadD3D
call fcn.140005944
test rbx, rbx
je 0x140005bfa
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 0x140005c03
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x1400247e0], 0
je 0x140005c1a
mov rax, qword [0x140024800]
test rax, rax
je 0x140005c1a
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 0x140005e6c
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.140004000
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140004000
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140004000
lea rdx, [0x140024810]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140006017
lea r15, [0x14002483c]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov rbp, qword [r12 + 8]
test rbp, rbp
je 0x140005ef2
and qword [r12 + 8], 0
jmp 0x140005f0b
mov rcx, qword [r12]
lea rdx, [0x140024810]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r15
test rbp, rbp
je 0x140005ff6
mov rcx, rbp
call fcn.14000a160
cmp eax, 4
jl 0x140005ee0
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140005ee0
lea rbx, [rcx + rbp - 3]
lea rdx, [0x14001bc44]
mov rcx, rbx
call fcn.14000aa10
test eax, eax
je 0x140005f56
lea rdx, [0x14001bc40]
mov rcx, rbx
call fcn.14000aa10
test eax, eax
jne 0x140005ee0
mov edx, 0x3b
mov rcx, rbp
call fcn.14000c20c
test rax, rax
jne 0x140005ee0
mov rcx, r14
call fcn.14000a160
mov rcx, rbp
mov rdi, rax
call fcn.14000a160
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140004000
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000a300
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, rbp
call fcn.14000a300
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140005fe3
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x140005fc7
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.14000402c
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140005ee0
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r12 + 8]
call fcn.140004084
mov rcx, r12
call fcn.140004084
mov rax, rsi
jmp 0x140006019
xor eax, eax
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 0x140006198
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.14000c20c
test rax, rax
jne 0x1400061be
mov rax, rdi
jmp 0x14000620e
mov dl, 0x3b
mov rcx, rdi
call fcn.140005d54
mov rcx, rax
mov rbx, rax
call fcn.140006038
mov dl, 0x3b
mov rcx, rbx
call fcn.140005c90
mov rcx, rbx
mov rsi, rax
call fcn.140005c34
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009f2c
test rax, rax
je 0x14000620b
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.140009dc4
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006320
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 0x140006395
cmp qword [rdx], 0xffffffffffffffff
je 0x140006395
mov edx, dword [rdx + 0x10]
xor r8d, r8d
call fcn.1400178a4
test eax, eax
js 0x140006395
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000b494
mov rbx, rax
test rax, rax
je 0x140006395
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.140016bd4
movsxd rcx, eax
cmp rcx, r12
je 0x1400063b5
mov rcx, rbx
call fcn.14000b620
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
cmp dword [rdi + 0x14], 0
jne 0x1400063d0
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x1400063cb
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x140006397
cmp dword [rdi + 0x14], 8
jne 0x140006395
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.8
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.1400072ec
test eax, eax
js 0x14000638d
mov rcx, qword [rdi]
inc rcx
call fcn.14000b494
mov rsi, rax
test rax, rax
je 0x14000638d
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.1400074bc
mov rcx, rbx
test eax, eax
jns 0x14000645c
call fcn.14000b620
mov rcx, rsi
jmp 0x140006390
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000b620
lea rcx, [rsp + 0x20]
call fcn.140008b14
test eax, eax
js 0x140006454
test rbp, rbp
je 0x140006480
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x140006397
Function at 0x140006488
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, 0x20
mov rbp, rdx
mov edx, 0xffffffea
mov ebx, ecx
lea r8d, [rdx + 0x18]
call fcn.1400178a4
mov edi, eax
test eax, eax
js 0x1400065f3
mov r8d, 0x16
mov rdx, rbp
mov ecx, ebx
call fcn.140016bd4
test eax, eax
js 0x1400065f3
movzx eax, byte [rbp + 2]
movzx ecx, byte [rbp + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140006504
mov eax, edi
jmp 0x1400065f6
xor edx, edx
mov ecx, ebx
lea r8d, [rdx + 2]
call fcn.1400178a4
mov r12d, eax
test eax, eax
js 0x1400065f3
mov edi, 0x10015
mov r8d, 2
mov ecx, ebx
cmp eax, edi
mov esi, edi
cmovl esi, eax
mov edx, esi
neg edx
call fcn.1400178a4
test eax, eax
js 0x1400065f3
mov ecx, edi
call fcn.14000b494
mov rdi, rax
test rax, rax
je 0x1400065f3
mov r8d, esi
mov rdx, rax
mov ecx, ebx
call fcn.140016bd4
test eax, eax
js 0x1400065eb
movsxd rsi, eax
add eax, 0xffffffea
movsxd rbx, eax
add rsi, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x1400065eb
cmp byte [rbx], 0x50
jne 0x1400065c1
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 0x1400065c1
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, rsi
je 0x1400065c6
dec rbx
jmp 0x140006578
mov r8d, 0x16
mov rdx, rbx
mov rcx, rbp
call fcn.14000a300
mov rcx, rdi
call fcn.14000b620
mov r11d, r12d
sub r11, rsi
lea rax, [rbx + r11]
jmp 0x1400065f6
mov rcx, rdi
call fcn.14000b620
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret