joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c29c
Capabilities:
Write 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 rsi, rdx
lea rdx, [0x14003e398]
movsxd rdi, r8d
call fcn.140015230
xor ebx, ebx
mov r12, rax
test rax, rax
je 0x14000c30e
mov rcx, rsi
call fcn.14000c1ac
mov r8, rdi
mov r9, r12
mov rcx, rax
mov edx, 1
mov rsi, rax
call fcn.1400150c0
mov rcx, r12
mov rbp, rax
call fcn.140014ecc
test rsi, rsi
je 0x14000c307
mov rcx, rsi
call fcn.140012ff8
cmp ebp, edi
sete bl
mov eax, ebx
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

Function at 0x14000cf84
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 0x14000cfe7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cffb
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cffb
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 0x14000d000
cmp dword [rcx + 8], 0
je 0x14000cffb
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000d000
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d010
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 0x14000d036
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000cf84
jmp 0x14000d09d
cmp byte [0x1400552e8], 0
jne 0x14000d07a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d06a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400552e0], rax
jmp 0x14000d071
mov rax, qword [0x1400552e0]
mov byte [0x1400552e8], 1
jmp 0x14000d081
mov rax, qword [0x1400552e0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000d097
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000d09d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d6b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x14003f930]
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.140012f00
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000d750
cmp eax, 0x104
ja 0x14000d750
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call fcn.140012f00
lea r8, [rsp + 0x20]
lea rdx, [0x14002fd38]
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 0x14000d752
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x14000d780
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x14000d78d
xor eax, eax
jmp 0x14000d7dd
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 0x14000d7f0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x14000d7fd
xor eax, eax
jmp 0x14000d85a
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 0x14000dc50
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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.140012f00
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call fcn.140013cac
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 0x14000dcf6
cmp eax, 2
sete sil
jmp 0x14000dd5b
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x14002f5f4]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000dd2f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000dd5d
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 0x14000dd55
add r12, 2
test ecx, ecx
jne 0x14000dd3f
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1400125c0
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 0x14000e010
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, [0x140030500]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x14000e06f
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.14000fe1c
xor edx, edx
mov ecx, ebx
call fcn.14002a910
nop
jmp 0x14000e07a
test ebx, ebx
jns 0x14000e0fb
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 0x14000e0b3
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14000fe1c
xor edx, edx
mov ecx, ebx
call fcn.14002a910
nop
jmp 0x14000e0be
test ebx, ebx
jns 0x14000e0fb
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 0x14000e0f5
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000fe1c
xor edx, edx
mov ecx, ebx
call fcn.14002a910
nop
jmp 0x14000e0fb
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000fc1c
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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.140012f00
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call fcn.140018d1c
test eax, eax
jns 0x14000fca7
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call fcn.140012f00
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.14000fb5c
lea r8, [0x14003038c]
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.1400175d4
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call fcn.140012f00
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x14000fd22
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 0x14000fd25
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14003039c]
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.140013cd0
test eax, eax
jns 0x14000fdb6
mov rdx, r13
lea rax, [0x1400304f8]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x14000fd9a
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call fcn.140018d50
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.1400125c0
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 0x14000fed4
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 0x14000ff14
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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.140012f00
lea rcx, [rbp + 0xf62]
mov r8d, r13d
xor edx, edx
mov word [rbp + 0xf60], si
call fcn.140012f00
lea rax, [rsp + 0x48]
lea rdx, [0x140030730]
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 0x1400100e7
xor edx, edx
jmp 0x1400100b6
lea rax, [rsp + 0x60]
lea r9, [0x1400307a0]
lea r8, [0x1400307f8]
lea rcx, [rbp + 0xf60]
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140013cac
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 0x1400100ad
lea rcx, [rbp + 0x1f62]
mov r8, r13
xor edx, edx
mov word [rbp + 0x1f60], si
call fcn.140012f00
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [0x1400306a8]
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 0x1400100ad
cmp dword [rsp + 0x40], esi
jbe 0x1400100ad
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f60]
lea rdx, [0x140030718]
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 0x14000ffcb
lea rdx, [rbp + 0x2f60]
mov rcx, rbx
call fcn.14000f7a8
mov rax, rbx
mov rcx, qword [rbp + 0x3f60]
xor rcx, rsp
call fcn.1400125c0
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 0x140010a38
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x140055308], ebx
je 0x140010a65
mov eax, dword [0x140055304]
jmp 0x140010ab0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.140012f00
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 0x140010aa1
cmp dword [rsp + 0x24], 6
jb 0x140010aa1
mov ebx, r11d
mov dword [0x140055304], ebx
mov dword [0x140055308], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400125c0
add rsp, 0x150
pop rbx
ret

Function at 0x140010ad8
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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.140012f00
lea rcx, [rbp + 0xf62]
mov r8d, r14d
xor edx, edx
mov word [rbp + 0xf60], bx
call fcn.140012f00
lea rax, [rsp + 0x48]
lea rdx, [0x140030e20]
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 0x140010ca1
xor edx, edx
jmp 0x140010c70
lea rax, [rsp + 0x60]
lea r9, [0x140030e80]
lea r8, [0x140030e08]
lea rcx, [rbp + 0xf60]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call fcn.140013cac
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 0x140010c64
lea rcx, [rbp + 0x1f62]
mov r8, r14
xor edx, edx
mov word [rbp + 0x1f60], bx
call fcn.140012f00
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 0x140010c64
cmp dword [rsp + 0x40], ebx
jbe 0x140010c64
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [0x140030ed8]
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 0x140010b84
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.1400125c0
mov rbx, qword [rsp + 0x30b0]
add rsp, 0x3070
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010ce8
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.1400133c4
test rax, rax
je 0x140010d2f
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call fcn.140016bb8
test eax, eax
sete bl
jmp 0x140010da4
call fcn.140010a38
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 0x140010d6d
xor eax, eax
jmp 0x140010da6
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 0x140010d99
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 0x140010fb8
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.140010dc8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + rax + 2]
call fcn.140010a38
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 0x140011028
xor eax, eax
jmp 0x14001105d
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 0x140011050
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 0x140011358
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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 0x1400113dd
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.140011a64
test eax, eax
jle 0x1400113dd
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400113d9
test al, 0x10
jne 0x1400113d9
mov ebx, 1
mov eax, ebx
jmp 0x1400113df
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400125c0
add rsp, 0x1040
pop rbx
ret

Function at 0x140013b7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400139ec

Function at 0x140015274
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001528a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001528c
xor eax, eax
test eax, eax
je 0x14001529c
mov ecx, eax
call fcn.1400157cc
or eax, 0xffffffff
jmp 0x14001529e
xor eax, eax
add rsp, 0x28
ret

Function at 0x140019f8b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003f930]
jne 0x1400125da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400125d6
repz ret
ror rcx, 0x10
jmp 0x140019ee4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140055490]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140055588]
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 0x140019f69
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, [0x140055490]
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 0x140019f8b
mov rax, qword [rsp + 0x88]
mov qword [0x140055588], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140055528], rax
mov rax, qword [0x140055588]
mov qword [0x140055400], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140055510], rax
mov dword [0x1400553f0], 0xc0000409
mov dword [0x1400553f4], 1
mov rax, qword [0x14003f930]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003f938]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140055488], eax
mov ecx, 1
call fcn.140026af4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140031450]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140055488], 0
jne 0x14001a012
mov ecx, 1
call fcn.140026af4
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 0x140022d40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140022d6a
call fcn.1400157ac
and dword [rax], 0
call fcn.14001578c
mov ebx, socket
mov dword [rax], ebx
call fcn.140019ec4
mov eax, ebx
jmp 0x140022dba
test edx, 0xfffffff9
jne 0x140022d4d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140022d93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400157cc
call fcn.14001578c
mov eax, dword [rax]
jmp 0x140022dba
test al, 0x10
jne 0x140022db8
test al, 1
je 0x140022db8
test bl, 2
je 0x140022db8
call fcn.1400157ac
mov dword [rax], 5
call fcn.14001578c
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140022d8a
xor eax, eax
add rsp, 0x20
pop rbx
ret