joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000db28
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000db8b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000db9f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000db9f
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000dba4
cmp dword [rcx + 8], 0
je 0x14000db9f
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000dba4
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000dbb4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000dbda
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000db28
jmp 0x14000dc41
cmp byte [0x1400589c8], 0
jne 0x14000dc1e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dc0e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400589c0], rax
jmp 0x14000dc15
mov rax, qword [0x1400589c0]
mov byte [0x1400589c8], 1
jmp 0x14000dc25
mov rax, qword [0x1400589c0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000dc3b
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000dc41
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e0c4
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x1400589e0], ebx
je 0x14000e0f1
mov eax, dword [0x1400589dc]
jmp 0x14000e13c
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.140013d30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov r11d, 1
jne 0x14000e12d
cmp dword [rsp + 0x24], 6
jb 0x14000e12d
mov ebx, r11d
mov dword [0x1400589dc], ebx
mov dword [0x1400589e0], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x150
pop rbx
ret
Function at 0x14000e314
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], si
call fcn.140013d30
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000e3b4
cmp eax, 0x104
ja 0x14000e3b4
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call fcn.140013d30
lea r8, [rsp + 0x20]
lea rdx, [0x140030ed8]
lea rcx, [rsp + 0x230]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14000e3b6
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x14000e3e4
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x14000e3f1
xor eax, eax
jmp 0x14000e441
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x58
ret

Function at 0x14000e454
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x14000e461
xor eax, eax
jmp 0x14000e4be
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x68
ret
Function at 0x14000e8b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rbx, rcx
mov edi, r8d
mov r12, rdx
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x40], si
call fcn.140013d30
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call fcn.140014ef0
lea rax, [rsp + 0x30]
neg edi
sbb rcx, rcx
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
add rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e95a
cmp eax, 2
sete sil
jmp 0x14000e9bf
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x140030664]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000e993
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000e9c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x740]
sub rdx, r12
movzx eax, word [r12]
movzx ecx, word [r12 + rdx]
sub eax, ecx
jne 0x14000e9b9
add r12, 2
test ecx, ecx
jne 0x14000e9a3
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000ec74
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor edi, edi
mov word [rcx], di
mov dword [rax - 0x38], 0x104
mov r9, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400316d0]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x14000ecd3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.140010c40
xor edx, edx
mov ecx, ebx
call fcn.14002f2a0
nop
jmp 0x14000ecde
test ebx, ebx
jns 0x14000ed5f
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000ed17
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140010c40
xor edx, edx
mov ecx, ebx
call fcn.14002f2a0
nop
jmp 0x14000ed22
test ebx, ebx
jns 0x14000ed5f
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000ed59
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140010c40
xor edx, edx
mov ecx, ebx
call fcn.14002f2a0
nop
jmp 0x14000ed5f
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000fd44
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
jns 0x14000fdb4
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.140010c40
xor edx, edx
mov ecx, esi
call fcn.14002f2a0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400105cc
mov rax, qword [rax]
test rax, rax
je 0x14000fdd0
mov r8, qword [rax]
jmp 0x14000fdd3
mov r8, rbx
mov rdx, r12
mov r9d, 0x104
mov rcx, rdi
call fcn.140013e68
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14000fe24
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14000fe24
test rdi, rdi
je 0x14000fe24
cmp qword [rdi], rbx
je 0x14000fe0d
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000fe1b
call fcn.140017fa8
mov rcx, rdi
call fcn.140017e30
nop
jmp 0x14000fe2c
test esi, esi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r12
pop rdi
pop rsi
ret
Function at 0x140010a40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, 0x7fe
lea rcx, [rbp + 0x782]
xor r13d, r13d
xor edx, edx
mov r8d, ebx
mov word [rbp + 0x780], r13w
call fcn.140013d30
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call fcn.14001a114
test eax, eax
jns 0x140010acb
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call fcn.140013d30
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.140010980
lea r8, [0x14003155c]
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.1400189cc
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call fcn.140013d30
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x140010b46
lea rsi, [rsi + rcx*2 - 0xc]
lea rdi, str.__08x_
lea ecx, [rax + 7]
repe cmpsw word [rsi], word [rdi]
lea edx, [rax + 1]
je 0x140010b49
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14003156c]
repne scasw ax, word [rdi]
lea rax, str.Error:
test edx, edx
not rcx
cmovne rbx, rax
lea rsi, [rcx - 1]
lea r12, [rcx + rcx - 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x3ff
sub rdx, rsi
lea rsi, [rbp + 0x780]
lea rcx, [rbp + r12 - 0x80]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
lea r9, str.P:_04d_T:_04d__s_s
mov r8, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.140014f14
test eax, eax
jns 0x140010bda
mov rdx, r13
lea rax, [0x1400316c8]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x140010bbe
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call fcn.1400141b0
xor eax, eax
lea rdi, [rbp - 0x80]
mov rcx, r14
repne scasw ax, word [rdi]
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
lea rcx, [rbp - 0x80]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret

Function at 0x140010cf8
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r8, str.http:__java.com_inst_dl_redirect
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x140010d38
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x3f88]
mov eax, 0x4070
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x3f60], rax
xor esi, esi
mov rbx, rcx
mov r13d, 0xffe
mov dword [rsp + 0x44], esi
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, r13d
mov edi, esi
mov word [rsp + 0x60], si
call fcn.140013d30
lea rcx, [rbp + 0xf62]
mov r8d, r13d
xor edx, edx
mov word [rbp + 0xf60], si
call fcn.140013d30
lea rax, [rsp + 0x48]
lea rdx, [0x140031900]
mov r12d, 0x800
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010f0b
xor edx, edx
jmp 0x140010eda
lea rax, [rsp + 0x60]
lea r9, [0x140031970]
lea r8, [0x1400319c8]
lea rcx, [rbp + 0xf60]
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140014ef0
lea r11, [rsp + 0x50]
lea rdx, [rbp + 0xf60]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010ed1
lea rcx, [rbp + 0x1f62]
mov r8, r13
xor edx, edx
mov word [rbp + 0x1f60], si
call fcn.140013d30
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [0x140031878]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010ed1
cmp dword [rsp + 0x40], esi
jbe 0x140010ed1
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f60]
lea rdx, [0x1400318e8]
xor r8d, r8d
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc edi
mov dword [rsp + 0x40], r12d
mov edx, edi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010def
lea rdx, [rbp + 0x2f60]
mov rcx, rbx
call fcn.1400105cc
mov rax, rbx
mov rcx, qword [rbp + 0x3f60]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x4070]
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
Function at 0x14001185c
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x1400589f0], ebx
je 0x140011889
mov eax, dword [0x1400589ec]
jmp 0x1400118d4
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.140013d30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov r11d, 1
jne 0x1400118c5
cmp dword [rsp + 0x24], 6
jb 0x1400118c5
mov ebx, r11d
mov dword [0x1400589ec], ebx
mov dword [0x1400589f0], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x150
pop rbx
ret

Function at 0x1400118fc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x2f70]
mov eax, 0x3070
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x2f60], rax
mov rdi, rcx
mov r12d, edx
xor ebx, ebx
mov r14d, 0xffe
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, r14d
mov esi, ebx
mov word [rsp + 0x60], bx
call fcn.140013d30
lea rcx, [rbp + 0xf62]
mov r8d, r14d
xor edx, edx
mov word [rbp + 0xf60], bx
call fcn.140013d30
lea rax, [rsp + 0x48]
lea rdx, [0x140031ff0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011ac5
xor edx, edx
jmp 0x140011a94
lea rax, [rsp + 0x60]
lea r9, [0x140032050]
lea r8, [0x140031fd8]
lea rcx, [rbp + 0xf60]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call fcn.140014ef0
lea r11, [rsp + 0x50]
lea rdx, [rbp + 0xf60]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011a88
lea rcx, [rbp + 0x1f62]
mov r8, r14
xor edx, edx
mov word [rbp + 0x1f60], bx
call fcn.140013d30
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, str.RuntimeLib
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011a88
cmp dword [rsp + 0x40], ebx
jbe 0x140011a88
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400320a8]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc esi
mov dword [rsp + 0x40], 0x800
mov edx, esi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400119a8
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x2f60]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x30b0]
add rsp, 0x3070
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011b0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], 1
call fcn.140014608
test rax, rax
je 0x140011b53
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call fcn.140017fb0
test eax, eax
sete bl
jmp 0x140011bc8
call fcn.14001185c
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20019
test eax, eax
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011b91
xor eax, eax
jmp 0x140011bca
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011bbd
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140011ddc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x18], rbx
call fcn.140011bec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + rax + 2]
call fcn.14001185c
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
test eax, eax
lea rax, [rsp + 0x50]
mov r9d, 0x20006
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011e4c
xor eax, eax
jmp 0x140011e81
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov edi, 1
xor r8d, r8d
mov rdx, rsi
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140011e74
mov ebx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14001217c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ebx, ebx
test eax, eax
je 0x140012201
lea rax, str.DeploymentRuleSet.jar
lea r9, [rsp + 0x30]
lea r8, str._sSunJavaDeployment_s
lea rcx, [rsp + 0x830]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.140012888
test eax, eax
jle 0x140012201
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400121fd
test al, 0x10
jne 0x1400121fd
mov ebx, 1
mov eax, ebx
jmp 0x140012203
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x1040
pop rbx
ret

Function at 0x140014dc0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140014c30

Function at 0x140014dcc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp fcn.140014c30

Function at 0x140015ff8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001600e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016010
xor eax, eax
test eax, eax
je 0x140016020
mov ecx, eax
call fcn.140016720
or eax, 0xffffffff
jmp 0x140016022
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001b03b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140041c50]
jne 0x14001340a
rol rcx, 0x10
test cx, 0xffff
jne 0x140013406
repz ret
ror rcx, 0x10
jmp 0x14001af94
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140058b80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140058c78]
mov qword [rsp + 0x58], rax
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 0x14001b019
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, [0x140058b80]
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 0x14001b03b
mov rax, qword [rsp + 0x88]
mov qword [0x140058c78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058c18], rax
mov rax, qword [0x140058c78]
mov qword [0x140058af0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058c00], rax
mov dword [0x140058ae0], 0xc0000409
mov dword [0x140058ae4], 1
mov rax, qword [0x140041c50]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140041c58]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140058b78], eax
mov ecx, 1
call fcn.14002897c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140032630]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140058b78], 0
jne 0x14001b0c2
mov ecx, 1
call fcn.14002897c
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 0x1400239cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x1400239f6
call fcn.140016700
and dword [rax], 0
call fcn.1400166e0
mov ebx, socket
mov dword [rax], ebx
call fcn.14001af74
mov eax, ebx
jmp 0x140023a46
test edx, 0xfffffff9
jne 0x1400239d9
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140023a1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140016720
call fcn.1400166e0
mov eax, dword [rax]
jmp 0x140023a46
test al, 0x10
jne 0x140023a44
test al, 1
je 0x140023a44
test bl, 2
je 0x140023a44
call fcn.140016700
mov dword [rax], 5
call fcn.1400166e0
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140023a16
xor eax, eax
add rsp, 0x20
pop rbx
ret