joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400172d7
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400172d7
call fcn.140015870
mov ebx, eax
jmp 0x1400173fc
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400172f8
call fcn.140015870
jmp 0x1400173eb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001731b
call fcn.140015870
jmp 0x1400173eb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14001733d
mov ebx, 0x8007000e
jmp 0x1400173ed
mov ecx, eax
test eax, eax
je 0x140017372
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140017434
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140017372
lea rcx, [rsp + 0x60]
call fcn.1400156c0
jmp 0x14001737c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14001738f
cmp qword [rsp + 0x60], 0
jne 0x14001739e
mov ebx, 0x8007000e
jmp 0x1400173ed
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400173c8
call fcn.140015870
jmp 0x1400173eb
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140016d50
mov ebx, eax
test rdi, rdi
je 0x1400173fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140017413
lea rcx, [rsp + 0x60]
call fcn.140015d60
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140032650
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1400158a0
int3
Function at 0x140021c40
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [0x140042808]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140021d04
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
xor edx, edx
call fcn.14000a1b0
test eax, eax
je 0x140021d04
mov ebx, 1
jmp 0x140021d06
xor ebx, ebx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140032650
add rsp, 0x290
pop rbx
ret
Function at 0x1400225b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor ebx, ebx
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsOUTLOOK.EXE
mov r9d, 0x2001f
mov qword [rsp + 0x38], rbx
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
call fcn.1400166c0
test eax, eax
jne 0x140022692
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 0x410
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140046190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140022692
mov eax, dword [rsp + 0x4c]
dec eax
cmp eax, 1
ja 0x140022692
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140022671
test al, 1
jne 0x140022692
shr rax, 1
cmp word [rsp + rax*2 + 0x5e], bx
je 0x140022676
jmp 0x140022692
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x140022692
cmp dword [rsp + 0x50], 6
sete bl
cmp qword [rsp + 0x30], 0
je 0x1400226a5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140032650
add rsp, 0x480
pop rbx
ret
Function at 0x1400231c0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [0x140042808]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140023297
mov rcx, rdi
call fcn.140021c40
test eax, eax
je 0x140023297
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov ebx, 1
mov r8d, ebx
mov rcx, rdi
call fcn.1400228a0
jmp 0x140023299
xor ebx, ebx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x140023350
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rdx, [rbp + 0x27]
call fcn.140021070
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
je 0x14002338f
xor ebx, ebx
jmp 0x14002347d
lea rdx, [0x140046190]
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
lea rdx, [0x140042a28]
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::Format_wchar_t_const____ptr64____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 0x79], 0x70
mov dword [rbp - 0x75], 0x240
xor ebx, ebx
mov qword [rbp - 0x71], rbx
lea rax, str.open
mov qword [rbp - 0x69], rax
lea rax, str.msiexec.exe
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x51], rbx
mov dword [rbp - 0x49], 5
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x79]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp - 0x11]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140023472
mov dword [rbp - 9], ebx
mov edx, 0x927c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 9]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x11]
cmp rcx, 0xffffffffffffffff
je 0x14002346d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x11], rbx
mov ebx, 1
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rbp
ret
Function at 0x140025600
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.14001f100
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001f140
cmp qword [rsp + 0x20], 0
jne 0x14002563f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x20]
call fcn.1400255f0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov rcx, rdx
call qword [case.0x140025198.0]
call fcn.14001f100
mov rcx, rax
call fcn.14001df80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14002a2d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdi, [rcx + 0x178]
mov r15, rdx
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14002a448
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rcx, rax
mov dword [rsp + 0x28], 0x10000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002a443
mov qword [rsp + 0x90], rbx
xor edx, edx
mov qword [rsp + 0x60], rbp
mov rcx, rax
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
test eax, eax
je 0x14002a428
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14002a428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rax
test rax, rax
jne 0x14002a3b4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a431
xor eax, eax
lea r9, [rsp + 0x40]
mov rdi, rdx
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov r8d, ebp
rep stosb byte [rdi], al
mov rcx, rsi
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
test eax, eax
jne 0x14002a3f9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a431
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r8, r15
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x14002a431
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a431
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032650
add rsp, 0x68
pop r15
pop rdi
ret
Function at 0x1400318d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140062148]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rsi
mov rbp, rcx
mov rsi, qword [0x140061c00]
xor r14d, r14d
mov rcx, qword [0x140061c08]
mov ebx, 1
cmp rsi, rcx
jae 0x1400319a4
test ebx, ebx
js 0x1400319a4
mov rdi, qword [rsi]
test rdi, rdi
je 0x140031997
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], r14
test rax, rax
jne 0x140031936
mov ebx, r14d
jmp 0x140031997
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x30]
lea rdx, [0x14003a688]
call qword [case.0x140025198.0]
mov ebx, eax
test eax, eax
js 0x140031979
mov rax, qword [rdi + 0x20]
mov r9d, 5
mov rdx, qword [rsp + 0x30]
add rax, 8
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 1]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140031990
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140025198.0]
mov rcx, qword [0x140061c08]
add rsi, 8
cmp rsi, rcx
jb 0x140031913
mov rsi, qword [rsp + 0x68]
test ebx, ebx
js 0x140031a6b
jne 0x140031a67
cmp byte [rbp + 0x60], r14b
je 0x140031a51
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x140031a13
lea rax, [rsp + 0x30]
mov r9, rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140031240]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140031a22
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], r14
mov rcx, rbp
mov ebx, 0x80004005
call fcn.140031a90
jmp 0x140031a6b
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x140031a46
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [rbp + 0x58]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140031a59
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test ebx, ebx
jns 0x140031a6b
mov rcx, rbp
call fcn.140031a90
jmp 0x140031a6b
mov byte [rbp + 0x60], r14b
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140032650
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
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.140009cf8
test rax, rax
je 0x14000105a
lea rcx, str.Windows_original_main_args:_n
call fcn.140009b90
xor ebx, ebx
cmp dword [0x140024984], ebx
jle 0x14000105a
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.140009b90
inc ebx
add rdi, 8
cmp ebx, dword [0x140024984]
jl 0x140001033
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140003eb0
call fcn.140003ea0
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140003f54
mov rbx, rax
call fcn.140003ea8
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 [0x140023020]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010bd
mov rdx, qword [rbx]
mov rcx, qword [0x140023018]
test rcx, rcx
jne 0x1400010cc
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], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14001a428]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001a418]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140024728]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003870
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001710
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.140009cf8
mov esi, 0x28
test rax, rax
je 0x140001795
mov rcx, rax
call fcn.1400060c4
mov rcx, rax
mov rdi, rax
call fcn.140009f00
lea rcx, [rsi + rax]
call fcn.140003f54
lea rdx, str._Denv.class.path_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14000a3d4
xor edx, edx
mov rcx, rbx
call fcn.14000120c
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140004120
test al, al
jne 0x1400017bb
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.1400042c4
xor al, al
jmp 0x140001883
lea rcx, [rsp + 0x30]
call fcn.140009f00
lea rcx, [rsi + rax]
call fcn.140003f54
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000a3d4
xor edx, edx
mov rcx, rbx
call fcn.14000120c
xor edi, edi
test rbp, rbp
jle 0x140001818
mov rcx, qword [r12 + rdi*8]
call fcn.140009f00
lea rcx, [rsp + 0x30]
lea ebx, [rsi + rax]
call fcn.140009f00
inc rdi
lea esi, [rbx + rax + 1]
cmp rdi, rbp
jl 0x1400017f6
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.140003f54
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000a6b0
xor edi, edi
test rbp, rbp
jle 0x14000186a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000a610
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000a610
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a610
inc rdi
cmp rdi, rbp
jl 0x14000183c
mov rcx, rbx
call fcn.140009f00
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.14000120c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000a780
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 0x140001e1c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x14001a8c8]
call fcn.140009cf8
lea rcx, [0x14001a8b0]
mov rsi, rax
call fcn.140009cf8
mov rbx, rax
test rsi, rsi
je 0x140001e81
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.140006b24
mov rdi, rax
test rax, rax
je 0x140001e93
call fcn.1400061d4
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.14000614c
mov rcx, rdi
call fcn.140003fd8
jmp 0x140001e93
test rax, rax
je 0x140001eda
call fcn.1400061d4
mov rcx, rbx
call fcn.140006194
mov rdx, rsi
mov rcx, rbx
call fcn.140006204
lea rcx, [0x14001a898]
call fcn.140004c88
lea rcx, [0x14001a8b0]
call fcn.140004c88
lea rcx, [0x14001a8c8]
call fcn.140004c88
mov rcx, qword [0x140024780]
call fcn.140003fd8
mov rcx, qword [0x140024778]
call fcn.140003fd8
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004010
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009cf8
test rax, rax
je 0x14000403f
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x1400247d0], 1
call fcn.140003fe0
add rsp, 0x28
ret

Function at 0x140004168
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 0x1400041dc
cmp dword [rsp + 0x34], 1
jne 0x1400041dc
cmp dword [rsp + 0x30], ebx
jae 0x1400041dc
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 0x1400041dc
mov al, 1
jmp 0x1400041de
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 0x140004538
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 0x1400046d5
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 0x1400046d5
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.140006e60
test eax, eax
je 0x140004616
test rbx, rbx
je 0x140004609
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140006d50
test eax, eax
jle 0x140004616
mov rcx, rbx
call fcn.140003fd8
lea rcx, [rsp + 0x60]
call fcn.140003fac
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 0x1400045d7
test rbx, rbx
je 0x1400046d5
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 0x140004676
call fcn.140003fd8
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400046d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400046d5
call fcn.140003fd8
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 0x140004669
test rcx, rcx
je 0x1400046c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140003fac
mov rbx, rax
test rax, rax
jne 0x14000471d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400046e5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x140004583
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000a780
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 0x14000472d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x1400046f4