joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400141e4
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x3060
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x3050], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r8, rcx
mov r9, rdx
lea rcx, [rsp + 0x170]
lea rdx, str._s_s.jar.pack
call fcn.140015a38
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014346
lea rcx, [rsp + 0x5c]
call fcn.140014610
lea rcx, [rsp + 0x5c]
lea rdx, str._s_s_.s
mov qword [rsp + 0x28], rcx
sub rax, 5
lea rcx, [rsp + 0x170]
mov r9, rbp
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140015a38
lea rdx, [rsp + 0x170]
lea rcx, str.checking__S
call fcn.1400104ac
lea rcx, [rsp + 0x170]
call fcn.140005b18
test al, al
jne 0x140014327
cmp byte [rdi], al
jne 0x1400142c9
lea rcx, str.Unpacking_JRE
call fcn.1400104ac
lea rcx, str.Preparing_JRE_..._n
call fcn.140012cdc
mov byte [rdi], 1
lea rcx, [rsp + 0x5c]
call fcn.140014610
lea rcx, [rsp + 0x5c]
lea rdx, str._s_.s
mov qword [rsp + 0x20], rcx
lea r9, [rax - 5]
lea rcx, [rsp + 0x170]
mov r8, rbp
call fcn.140015a38
lea r9, [rsp + 0x170]
lea rdx, str._s_s.pack
lea rcx, [rsp + 0x18e0]
mov r8, rsi
call fcn.140015a38
lea rdx, [rsp + 0x18e0]
mov rcx, rsi
call fcn.140013fec
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001424e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.140014d30
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3060
pop rdi
pop rsi
pop rbp
ret

Function at 0x140016aac
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140016ac4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016ac6
xor eax, eax
test eax, eax
je 0x140016ad6
mov ecx, eax
call fcn.140018a5c
or eax, 0xffffffff
jmp 0x140016ad8
xor eax, eax
add rsp, 0x28
ret

Function at 0x140016ae0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x140016af6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016af8
xor eax, eax
test eax, eax
je 0x140016b08
mov ecx, eax
call fcn.140018a5c
or eax, 0xffffffff
jmp 0x140016b0a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140016b54
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140016b6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016b6e
xor eax, eax
test eax, eax
je 0x140016b7e
mov ecx, eax
call fcn.140018a5c
or eax, 0xffffffff
jmp 0x140016b80
xor eax, eax
add rsp, 0x28
ret

Function at 0x140016b88
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140016b9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016ba0
xor eax, eax
test eax, eax
je 0x140016bb0
mov ecx, eax
call fcn.140018a5c
or eax, 0xffffffff
jmp 0x140016bb2
xor eax, eax
add rsp, 0x28
ret
Function at 0x140017f18
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140017f2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140017f30
xor eax, eax
test eax, eax
je 0x140017f40
mov ecx, eax
call fcn.140018a5c
or eax, 0xffffffff
jmp 0x140017f42
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400190cb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003b9c0]
jne 0x140014d4a
rol rcx, 0x10
test cx, 0xffff
jne 0x140014d46
repz ret
ror rcx, 0x10
jmp 0x140019024
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14004a850]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14004a948]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400190a9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14004a850]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400190cb
mov rax, qword [rsp + 0x88]
mov qword [0x14004a948], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14004a8e8], rax
mov rax, qword [0x14004a948]
mov qword [0x14004a7c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14004a8d0], rax
mov dword [0x14004a7b0], 0xc0000409
mov dword [0x14004a7b4], 1
mov rax, qword [0x14003b9c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003b9c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14004a848], eax
mov ecx, 1
call fcn.140019170
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140034f10]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14004a848], 0
jne 0x140019152
mov ecx, 1
call fcn.140019170
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14001cf68
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001cddc
Function at 0x14001cf74
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001dbf8
nop
cmp dword [0x14004ad88], 1
je 0x14001cf14
mov dword [0x14004ad84], 1
mov byte [0x14004ad80], r12b
test ebx, ebx
jne 0x14001cf00
mov rcx, qword [0x14004b890]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001ceed
mov rcx, qword [0x14004b888]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001ce8c
call fcn.140019180
cmp qword [rdi], rax
jne 0x14001ce8c
jmp 0x14001ce72
cmp rdi, rsi
jb 0x14001ceed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140019180
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14004b890]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14004b888]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001cecb
cmp r13, rax
je 0x14001ceeb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001ce72
lea rdx, [0x14002f578]
lea rcx, [0x14002f560]
call fcn.14001ccbc
lea rdx, [0x14002f588]
lea rcx, [0x14002f580]
call fcn.14001ccbc
nop
test r12d, r12d
je 0x14001cf23
mov ecx, 8
call fcn.14001daf8
test r12d, r12d
jne 0x14001cf4e
mov dword [0x14004ad88], 1
lea ecx, [r12 + 8]
call fcn.14001daf8
mov ecx, r15d
call fcn.14001cc50
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001cddc
Function at 0x14001fe54
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140019180
xor ebx, ebx
mov rdi, rax
cmp qword [0x14004b370], rbx
jne 0x14001ff5a
lea rcx, [0x140035720]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002002f
lea rdx, [0x140035710]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002002f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14004b370], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400356e8]
mov rcx, rsi
mov qword [0x14004b378], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14004b380], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14004b390], rax
test rax, rax
je 0x14001ff51
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14004b388], rax
jmp 0x14001ff61
mov rax, qword [0x14004b388]
jmp 0x14001ff68
mov rax, qword [0x14004b388]
mov r11, qword [0x14004b390]
cmp rax, rdi
je 0x14001ffd0
cmp r11, rdi
je 0x14001ffd0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14004b390]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14001ffd0
test rax, rax
je 0x14001ffd0
call rsi
test rax, rax
je 0x14001ffca
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001ffca
test byte [rsp + 0x38], 1
jne 0x14001ffd0
bts ebp, 0x15
jmp 0x14002000e
mov rcx, qword [0x14004b378]
cmp rcx, rdi
je 0x14002000e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002000e
call rax
mov rbx, rax
test rax, rax
je 0x14002000e
mov rcx, qword [0x14004b380]
cmp rcx, rdi
je 0x14002000e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002000e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14004b370]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002002f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140020031
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140026d94
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140019180
xor ebx, ebx
mov rdi, rax
cmp qword [0x14004b630], rbx
jne 0x140026e9a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140026f6f
lea rdx, [0x140036b68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140026f6f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14004b630], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400356e8]
mov rcx, rsi
mov qword [0x14004b638], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14004b640], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14004b650], rax
test rax, rax
je 0x140026e91
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14004b648], rax
jmp 0x140026ea1
mov rax, qword [0x14004b648]
jmp 0x140026ea8
mov rax, qword [0x14004b648]
mov r11, qword [0x14004b650]
cmp rax, rdi
je 0x140026f10
cmp r11, rdi
je 0x140026f10
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14004b650]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140026f10
test rax, rax
je 0x140026f10
call rsi
test rax, rax
je 0x140026f0a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140026f0a
test byte [rsp + 0x38], 1
jne 0x140026f10
bts ebp, 0x15
jmp 0x140026f4e
mov rcx, qword [0x14004b638]
cmp rcx, rdi
je 0x140026f4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140026f4e
call rax
mov rbx, rax
test rax, rax
je 0x140026f4e
mov rcx, qword [0x14004b640]
cmp rcx, rdi
je 0x140026f4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140026f4e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14004b630]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140026f6f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140026f71
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001a90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rcx
mov esi, 0x800
mov r8d, esi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
cmp dword [0x140022868], 0
jne 0x140001b65
lea rcx, str.DEPLOY_TRACE_NATIVE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001b65
call fcn.140001a28
mov rbx, rax
test rax, rax
je 0x140001b65
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
lea r9, str._s_s_s__ld.trace
mov qword [rsp + 0x30], rdi
mov r8d, esi
lea rax, [0x140013754]
mov edx, esi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
call fcn.1400037e8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [0x140013784]
lea rcx, [rsp + 0x40]
call fcn.1400019f0
mov ecx, dword [0x140022868]
test rax, rax
mov edx, 1
mov qword [0x140022870], rax
cmovne ecx, edx
mov dword [0x140022868], ecx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002248
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1cd0]
mov eax, 0x1dd0
call fcn.140010060
sub rsp, rax
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rbp + 0x1cc0], rax
mov rdi, rdx
mov rbx, rcx
mov r14d, 0x1000
lea rcx, [rbp + 0xcc0]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov esi, 0x800
lea rcx, [rbp + 0x4c0]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rdx, [rbp + 0x4c0]
lea rcx, [0x140013758]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x7fe
ja 0x1400022e5
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1400022f7
mov r8, r14
lea rdx, [rbp + 0xcc0]
mov rcx, rbx
call fcn.140008318
lea rdx, [0x140013768]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsstr]
test rax, rax
jne 0x1400024a1
mov esi, 0x104
lea rcx, [rbp + 0x3b0]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x190]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, esi
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r8, [rbp + 0x3b0]
lea rdx, [0x140013788]
lea rcx, [rbp + 0x190]
call fcn.140003844
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r8d, esi
lea rcx, [rbp + 0x2a0]
xor edx, edx
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x2a0]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400023c6
mov byte [rax], 0
lea r8, [rbp + 0x2a0]
lea rdx, [0x1400136bc]
lea rcx, [rbp + 0x80]
call fcn.140003844
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp r14, 0xffffffffffffffff
jne 0x140002429
cmp rax, r14
je 0x1400024a1
mov r8, rbx
lea r9, [rbp + 0x80]
lea rbx, [0x140022890]
mov rcx, rbx
lea rdx, [0x1400137f8]
call fcn.140003844
mov rcx, rsi
jmp 0x140002475
lea r9, [rbp + 0x190]
mov r8, rbx
lea rbx, [0x140022890]
mov rcx, rbx
cmp rsi, 0xffffffffffffffff
je 0x140002466
lea rax, [rbp + 0x80]
lea rdx, [0x1400137b0]
mov qword [rsp + 0x20], rax
call fcn.140003844
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140002424
lea rdx, [0x1400137d8]
call fcn.140003844
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
cmp rdx, qword [rdi + 0x10]
je 0x140002494
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x1400024a1
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.1400033a0
mov rcx, qword [rbp + 0x1cc0]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x1dd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400024d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000212c
test eax, eax
jne 0x14000253d
mov rdx, rdi
lea rcx, str.Error_during_getting_jre_home..._jp2launcherpath__s_n
call fcn.140001bd0
xor eax, eax
jmp 0x140002660
lea rax, [rsp + 0x40]
mov edx, 0x410
mov qword [rsp + 0x28], rax
lea rdi, [0x140022ba0]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str._Xbootclasspath_a:__slibdeploy.jar____slibjavaws.jar____slibplugin.jar_
call fcn.140003790
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp rdx, qword [rbx + 0x10]
je 0x14000258a
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x140002597
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1400033a0
lea rdi, [0x140022fb0]
mov edx, 0x208
mov rcx, rdi
lea r9, [rsp + 0x40]
lea r8, str._Djava.class.path__sclasses_
call fcn.140003790
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp rdx, qword [rbx + 0x10]
je 0x1400025d0
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x1400025dd
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1400033a0
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [0x1400138c0]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x14000264e
lea rax, [rbp + 0x50]
mov edx, 0x208
lea rdi, [0x1400231c0]
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea r9, [0x1400138d8]
lea r8, [0x1400138f0]
call fcn.140003790
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
cmp rdx, qword [rbx + 0x10]
je 0x140002641
mov qword [rdx], rdi
add qword [rbx + 8], 8
jmp 0x14000264e
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1400033a0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140002248
mov eax, 1
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002cb0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x140013990]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslen]
mov rdi, rax
lea rcx, [rax + 0x105]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140002ceb
xor eax, eax
jmp 0x140002d4c
lea r8d, [rdi + 0x105]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
jne 0x140002d5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x140002d3e
lea rcx, [rbx - 1]
inc rcx
cmp byte [rcx], 0
jne 0x140002d15
movsd xmm0, qword [str.JavaLow]
mov rdx, rbx
mov al, byte [0x1400139b8]
movsd qword [rcx], xmm0
mov byte [rcx + 8], al
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 0x104
jbe 0x140002d11
lea rcx, [0x1400139a0]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslen]
mov rcx, rbx
lea rdx, [rax + 1]
add rdx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r8d, edi
xor edx, edx
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140002d11
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002ce7
Function at 0x140007454
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x140022558]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor bl, bl
cmp byte [0x1400233e0], bl
je 0x140007481
mov al, byte [0x1400233e1]
jmp 0x1400074c5
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], DllRegisterServer
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
jne 0x1400074b6
cmp dword [rsp + 0x24], 6
jb 0x1400074b6
mov bl, 1
mov byte [0x1400233e1], bl
mov al, bl
mov byte [0x1400233e0], 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400100c0
add rsp, 0xd0
pop rbx
ret

Function at 0x1400075f0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
xor r8d, r8d
mov byte [rax + 0x10], 0
lea rdx, [rax + 0x10]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
jne 0x140007629
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x14000763f
jmp 0x140007674
mov rcx, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140007643
xor al, al
jmp 0x140007676
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x14000766b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000766b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000763f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000796c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov sil, dl
mov rbx, rcx
mov rax, rcx
jb 0x140007993
mov rax, qword [rcx]
cmp byte [rax], 0x2d
je 0x14000799f
xor al, al
jmp 0x140007a72
mov ebp, 0x16
cmp qword [rcx + 0x10], rbp
mov edi, ebp
cmovb rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400079b9
mov rcx, qword [rcx]
cmp rdi, rbp
lea rdx, str._Dsun.plugin2.jvm.args
mov r8, rdi
cmova r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400079f5
cmp rdi, rbp
jne 0x1400079f5
lea rcx, str.Invalid_argument_1_n
call fcn.140001bd0
call fcn.140001ba0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007a02
mov rcx, qword [rbx]
mov dl, sil
call fcn.140008878
test al, al
jne 0x140007a1f
lea rcx, str.Invalid_argument_2_n
call fcn.140001bd0
jmp 0x140007998
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x140007a2c
mov rcx, qword [rbx]
call fcn.140007fb4
test al, al
je 0x140007a70
cmp qword [rbx + 0x18], 0x10
jb 0x140007a3f
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.140007f44
mov rcx, rax
call fcn.1400074e4
test al, al
jne 0x140007a70
lea rcx, str.Invalid_argument_3_n
call fcn.140001bd0
call fcn.140001ba0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret