joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011648
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x38]
lea rdx, str.SOFTWAREJavaSoft
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x1400116ac
cmp eax, 2
jne 0x140011699
lea rcx, str.Could_not_find_HKEY_LOCAL_MACHINE__SOFTWAREJavaSoft_registry_key.
call fcn.1400113f8
xor ebx, ebx
jmp 0x1400116a5
lea rcx, str.Could_not_open_HKEY_LOCAL_MACHINE__SOFTWAREJavaSoft_registry_key.
call fcn.1400113f8
mov eax, ebx
jmp 0x1400117a0
mov rcx, qword [rbp + 0x38]
and dword [rbp + 0x30], 0
and dword [rbp + 0x28], 0
lea rax, [rbp + 0x20]
lea r9, [rbp + 0x28]
lea rdx, str.MSIStatusError
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov ebx, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x1400116fc
cmp eax, 0xea
je 0x1400116fc
cmp eax, 2
jne 0x14001171f
xor edi, edi
jmp 0x14001171f
mov rcx, qword [rbp + 0x38]
lea rdx, str.MSIStatusError
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test eax, eax
je 0x14001171f
lea rcx, str.Could_not_delete_MSIStatusError_registry_value.
call fcn.1400113f8
mov rcx, qword [rbp + 0x38]
and dword [rbp + 0x28], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
lea r9, [rbp + 0x28]
lea rdx, str.MSIStatusExtendedError
xor r8d, r8d
mov dword [rbp + 0x20], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x140011766
cmp eax, 0xea
je 0x140011766
cmp eax, 2
jne 0x140011789
xor ebx, ebx
jmp 0x140011789
mov rcx, qword [rbp + 0x38]
lea rdx, str.MSIStatusExtendedError
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, eax
test eax, eax
je 0x140011789
lea rcx, str.Could_not_delete_MSIStatusExtendedError_registry_value.
call fcn.1400113f8
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14001179b
mov eax, edi
jmp 0x1400117a0
test ebx, ebx
cmovne eax, ebx
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret

Function at 0x1400117a8
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call fcn.14001e2f0
lea rdx, str.SoftwareJreMetrics
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
test eax, eax
jne 0x1400117fd
lea rcx, str.RemoveJreMetrics_____JreMetrics_key_successfully_removed_n
jmp 0x140011820
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.RemoveJreMetrics_____RegDeleteKeyEx__:_Error:_d__ErrorCode:_d_n
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8d, ebx
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x20]
call fcn.1400113f8
mov eax, ebx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14001eba0
add rsp, 0x430
pop rbx
ret
Function at 0x140011840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
mov rsi, rdx
mov rdi, rcx
lea rdx, str.SOFTWAREJavaSoft
lea r8, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
je 0x14001188b
lea rcx, str.Could_not_open_the_registry_key.
call fcn.1400113f8
mov eax, ebx
jmp 0x140011924
mov rcx, qword [rbp - 0x10]
and dword [rbp + 0x38], 0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rdx, str.MSIStatusError
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x1400118ce
lea rcx, str.Could_not_get_MSIStatusError_registry_value.
call fcn.1400113f8
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
lea r9, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.MSIStatusExtendedError
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x14001190d
lea rcx, str.Could_not_get_MSIStatusExtendedError_registry_value.
call fcn.1400113f8
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140011884
test edi, edi
cmovne eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140011934
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x450
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
xor ebp, ebp
mov rsi, r9
and qword [rsp + 0x30], rdi
mov rbx, r8
mov r12, rdx
test rcx, rcx
jne 0x1400119a8
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREJavaSoftJava_UpdatePolicy
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400119a1
lea ebp, [rdi + 1]
jmp 0x1400119ad
xor eax, eax
jmp 0x140011a2e
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test eax, eax
jne 0x1400119d3
lea edi, [rax + 1]
jmp 0x140011a1d
cmp eax, 2
je 0x140011a1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x40], dil
mov ebx, eax
call fcn.14001e2f0
lea rdx, str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8, r12
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x40]
call fcn.1400113f8
test ebp, ebp
je 0x140011a2c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14001eba0
add rsp, 0x450
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011a4c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rbx, rcx
mov r13, r8
mov r12, rdx
lea rcx, [rsp + 0x41]
xor edi, edi
xor esi, esi
and qword [rsp + 0x30], rdi
xor edx, edx
mov r8d, 0x3ff
mov r14, r9
mov byte [rsp + 0x40], sil
call fcn.14001e2f0
test rbx, rbx
jne 0x140011b08
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareJreMetrics
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test eax, eax
jne 0x140011ada
lea esi, [rbx + 1]
jmp 0x140011b15
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
lea rcx, [rsp + 0x40]
mov r9d, edi
mov r8, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x40]
call fcn.1400113f8
jmp 0x140011b0d
mov qword [rsp + 0x30], rbx
test edi, edi
jne 0x140011b9c
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x140011b8d
cmp eax, 2
je 0x140011b8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0x341]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x340], 0
mov ebx, eax
call fcn.14001e2f0
lea rdx, str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
lea rcx, [rbp + 0x340]
mov r9d, edi
mov r8, r12
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rbp + 0x340]
call fcn.1400113f8
test esi, esi
je 0x140011b9c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14001eba0
add rsp, 0x850
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400134b8
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, 0x409
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
mov eax, 0x804
cmp bx, ax
je 0x140013548
call fcn.140013490
xor esi, esi
test eax, eax
jne 0x1400134f2
lea eax, [rdi + 0xd]
cmp bx, ax
je 0x140013548
mov eax, 0xff
and bx, ax
call fcn.140013490
test eax, eax
je 0x140013517
movzx eax, bx
cmp eax, dword [reloc.COMCTL32.dll_InitCommonControls]
jne 0x140013545
movzx edi, word [0x140048a2c]
jmp 0x140013545
lea r8, [0x1400489f0]
movzx ecx, bx
mov rax, r8
cmp ecx, dword [rax]
je 0x14001353c
lea rdx, vtable.type_info.0
add rax, 8
inc esi
cmp rax, rdx
jl 0x140013524
jmp 0x140013545
movsxd rax, esi
movzx edi, word [r8 + rax*8 + 4]
movzx eax, di
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140013608
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.14001e2f0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 5
jne 0x14001365b
cmp dword [rsp + 0x28], 2
jne 0x14001365b
mov eax, 1
jmp 0x14001365d
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001eba0
add rsp, 0xd8
ret

Function at 0x140013678
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x840
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov edx, 0x400
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, str.msi.dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea r9, [rsp + 0x430]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x400
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140013726
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x1400387e4]
lea rcx, [rsp + 0x430]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140013726
mov rax, qword [rsp + 0x20]
mov edx, 0x20000
mov ecx, dword [rax + 8]
cmp ecx, edx
ja 0x14001371a
jne 0x140013726
cmp dword [rax + 0xc], 0xa280000
jb 0x140013726
mov ebx, 1
test rdi, rdi
je 0x140013726
mov dword [rdi], ecx
mov eax, ebx
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14001eba0
mov rbx, qword [rsp + 0x858]
add rsp, 0x840
pop rdi
ret
Function at 0x14001374c
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
call fcn.140013608
test eax, eax
je 0x14001377c
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, 1
jmp 0x1400137ed
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionInstaller
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400137fd
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallerLocation
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, ebx
test eax, eax
mov ebx, 1
cmove ecx, ebx
mov ebx, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400137fd
lea rdx, str.msiexec.exe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001380c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov esi, eax
lea rax, [rsp + 0x58]
mov r9d, 0x400
mov r8d, esi
xor edx, edx
mov ecx, 0x1100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rcx, qword [rsp + 0x58]
call fcn.14001e700
mov rcx, rdi
mov rbx, rax
call fcn.14001e700
mov ecx, 0x40
lea rdx, [rbx + rax + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsp + 0x58]
lea rdx, str._s_failed_with_error__d:__s
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8, rdi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, str.Error
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400138cc
Capabilities:
Extract resource via kernel32 functions
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 r13
sub rsp, 0x50
mov rbp, r9
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x1400139d7
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x80
mov rsi, rax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140013963
lea rcx, str.Installer_:_Wrapper.CreateFile
call fcn.14001380c
int3
xor ebx, ebx
test edi, edi
je 0x1400139ab
mov r13d, 0x2000
and dword [rsp + 0x40], 0
mov r8d, edi
lea r9, [rsp + 0x40]
sub r8d, ebx
mov rdx, rsi
mov rcx, rbp
cmp r8d, r13d
cmova r8d, r13d
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400139c5
mov eax, dword [rsp + 0x40]
add ebx, dword [rsp + 0x40]
add rsi, rax
cmp ebx, edi
jb 0x14001396f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400139d2
lea rcx, str.Installer_:_Wrapper.CloseHandle
call fcn.14001380c
int3
lea rcx, str.Installer_:_Wrapper.WriteFile__In_small_chunks_
call fcn.14001380c
int3
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r13
ret

Function at 0x1400139f4
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call fcn.14001e2f0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret

Function at 0x140013a24
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, edx
lea rax, [r11 - 0x18]
mov rsi, rcx
lea rdx, str.SOFTWAREJavaSoftAuto_Update
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x28], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140013a99
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.AUVersion
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [rbx + 1]
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140013c94
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov ebp, edx
mov ebx, ecx
mov r8d, ecx
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140013d22
mov rdx, rbx
lea rcx, [0x140013c58]
test esi, esi
jne 0x140013cdc
lea rcx, [0x140013c14]
call qword [sym.imp.USER32.dll_EnumWindows]
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140013d12
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb ebx, ebx
not ebx
and ebx, 2
jmp 0x140013d17
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013d38
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.1400139f4
xor ebx, ebx
test eax, eax
je 0x140013d7b
lea rax, [rsp + 0x50]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140013db6
lea rax, [rsp + 0x50]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140013db6
lea rcx, str.GetChromeHome___could_not_open_HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
call fcn.1400113f8
xor eax, eax
jmp 0x140013e09
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.Path
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x48], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x140013df7
lea rcx, str.GetChromeHome___could_not_retrieve_chrome_exe_path_at_HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
call fcn.1400113f8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013e14
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, edx
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013ea3
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
jmp 0x140013e96
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.140021a14
test eax, eax
jne 0x140013e89
mov ecx, dword [rsp + 0x28]
mov r8d, edi
mov edx, 0x1388
call fcn.140013c94
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140013e67
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140013ecc
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov rbx, rcx
lea rdx, str.SOFTWAREJavaSoft
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140013f19
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x140014038
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r12
push rbp
lea rbp, [rsp - 0xb50]
sub rsp, 0xc50
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rbp + 0xb40], rax
lea rcx, str.Restart_IE
call fcn.1400113f8
mov r12d, 0x3ff
lea rcx, [rsp + 0x41]
mov r8d, r12d
xor edx, edx
mov byte [rsp + 0x40], 0
call fcn.14001e2f0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400140fa
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [0x140035cab]
xor r8d, r8d
mov dword [rsp + 0x38], 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [rbx + 1]
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400141a0
lea rcx, [rbp + 0x741]
mov r8, r12
xor edx, edx
mov byte [rbp + 0x740], 0
call fcn.14001e2f0
lea rcx, [rbp + 0x341]
mov r8, r12
xor edx, edx
mov byte [rbp + 0x340], 0
call fcn.14001e2f0
lea r11, [rsp + 0x40]
or rbx, 0xffffffffffffffff
lea r9, [0x14003620c]
lea rcx, [rbp + 0x740]
mov r8, rbx
mov edx, 0x400
mov qword [rsp + 0x20], r11
call fcn.14001f9bc
lea r11, str.http:__java.com_verify__srcinstall
lea r9, [0x1400395e0]
lea rcx, [rbp + 0x340]
mov r8, rbx
mov edx, 0x400
mov qword [rsp + 0x20], r11
call fcn.14001f9bc
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x740]
call fcn.14001a2b8
mov rcx, qword [rbp + 0xb40]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0xc50]
mov rbx, qword [r11 + 0x10]
mov r12, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400141c4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov edi, 0x103
lea rcx, [rbp + 0x61]
xor ebx, ebx
mov r8d, edi
xor edx, edx
mov byte [rbp + 0x60], bl
call fcn.14001e2f0
lea r8d, [rdi + 1]
lea rdx, [rbp + 0x60]
lea rcx, str.1.7.0_76
call fcn.14000f86c
test eax, eax
jne 0x140014232
lea rcx, str.Cannot_determine_JavaHome._n
call fcn.1400113f8
xor eax, eax
jmp 0x14001436e
lea rcx, [rsp + 0x51]
mov r8, rdi
xor edx, edx
mov byte [rsp + 0x50], bl
call fcn.14001e2f0
lea r11, str.libdeployment.properties
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], r11
lea r9, str._s_s
lea rcx, [rsp + 0x50]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.14001f9bc
lea rcx, [rsp + 0x50]
call fcn.1400135b4
test eax, eax
je 0x14001428b
lea rcx, str.Deployment_configuration_files_already_exists._n
jmp 0x140014226
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400142cb
lea rcx, str.Unable_to_create_deployment_configuration_file._n
jmp 0x140014226
lea rcx, [rbp + 0x171]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x170], bl
call fcn.14001e2f0
lea r9, str.deployment.baseline.url_n
lea rcx, [rbp + 0x170]
or r8, 0xffffffffffffffff
mov edx, 0x400
call fcn.14001f9bc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
lea rdx, [rbp + 0x170]
mov rcx, rdi
mov r8d, eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140014352
lea rcx, str.Unable_to_write_to_deployment_configuration_file._n
call fcn.1400113f8
jmp 0x140014363
lea rcx, str.Successfully_disabled_dynamic_baselining._n
call fcn.1400113f8
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret