joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d870
Capabilities:
Bypass mark of the web
Check if file exists
Delete file

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp word [0x140431680], 0
jne 0x14010d8a8
lea rdx, [0x140431680]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x140431680]
lea rcx, [rsp + 0x20]
mov edx, pe_nt_image_headers64
call fcn.1402bcbb8
lea r8, str.:Zone.Identifier
lea rcx, [rsp + 0x20]
mov edx, pe_nt_image_headers64
call fcn.1402bf098
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010d8ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x268
ret

Function at 0x14010d910
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movzx ebp, dl
mov r14d, ecx
xor bl, bl
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov r8d, eax
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14010d9e7
lea rax, [rsp + 0x90]
lea r9d, [rdi + 0x30]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x90], edi
mov qword [rsp + 0x20], rax
call qword [0x140430cb0]
mov ecx, 0x1f0fff
test eax, eax
cmove rdi, qword [rsp + 0x58]
xor edx, edx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14010d9dc
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14010d9b3
mov rcx, rdi
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010d9de
test bpl, bpl
je 0x14010d9d1
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010d9de
mov bl, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x60]
movzx eax, bl
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401109b0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ebx, edx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
cmp byte [0x140431660], r14b
jne 0x140110a4f
mov byte [0x140431660], 1
lea r9d, [r14 + 5]
lea rbp, [0x140431668]
mov r8, rbp
lea edx, [r14 + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9d, [r14 + 5]
lea rsi, [0x140431628]
mov r8, rsi
lea edx, [r14 + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x140431640], 3
mov qword [0x140431650], rbp
mov qword [0x140431648], rsi
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14000b500
nop
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140431638]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jle 0x140110ad8
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140110a94
mov qword [rdi + 8], r14
test ebx, ebx
jne 0x140110ab2
lea rax, [0x14034d1a0]
mov qword [rdi], rax
jmp 0x140110ad4
mov edx, ebx
mov rcx, rdi
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x50]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, ebx
jmp 0x140110b16
mov qword [rdi + 8], r14
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x140110af0
lea rax, [0x14034d1a0]
mov qword [rdi], rax
jmp 0x140110b16
mov rcx, rdi
call fcn.1402028a0
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, dword [rsp + 0x3c]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rsp + 0x38], 0
jle 0x140110b30
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140112350
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
lea rcx, str.SeShutdownPrivilege
call fcn.140100af0
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test eax, eax
je 0x140112398
mov rax, qword [0x140430c10]
test rax, rax
je 0x140112391
mov byte [rax + 0x26d], 1
mov al, 1
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x1401123a0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140430c10]
test rbx, rbx
je 0x1401123f1
mov eax, dword [0x1404214a0]
cmp eax, 0xffffffff
jne 0x1401123ec
call fcn.140114cf0
test al, al
je 0x1401123d6
mov dword [0x1404214a0], 1
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x2f8], 0
jne 0x1401123c6
mov dword [0x1404214a0], 0
jmp 0x1401123f1
cmp eax, 1
je 0x140112404
call fcn.140112590
test al, al
jne 0x140112404
add rsp, 0x20
pop rbx
jmp 0x140112410
add rsp, 0x20
pop rbx
ret
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edi, edi
mov qword [rsp + 0x48], rdi
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0xc]
lea r8, [0x140351f90]
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401124a0
mov qword [rsp + 0x38], rdi
test ebx, ebx
jne 0x1401124c1
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1401124e8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x14011251c
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x48], 0
jle 0x14011252d
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.OPEN
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [rsp + 0x58], 0
jle 0x140112562
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140112410
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140430c10]
test rbx, rbx
je 0x1401123f1
mov eax, dword [0x1404214a0]
cmp eax, 0xffffffff
jne 0x1401123ec
call fcn.140114cf0
test al, al
je 0x1401123d6
mov dword [0x1404214a0], 1
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x2f8], 0
jne 0x1401123c6
mov dword [0x1404214a0], 0
jmp 0x1401123f1
cmp eax, 1
je 0x140112404
call fcn.140112590
test al, al
jne 0x140112404
add rsp, 0x20
pop rbx
jmp 0x140112410
add rsp, 0x20
pop rbx
ret
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edi, edi
mov qword [rsp + 0x48], rdi
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0xc]
lea r8, [0x140351f90]
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401124a0
mov qword [rsp + 0x38], rdi
test ebx, ebx
jne 0x1401124c1
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1401124e8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x14011251c
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x48], 0
jle 0x14011252d
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.OPEN
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [rsp + 0x58], 0
jle 0x140112562
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140112590
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor r15b, r15b
mov esi, 0x100
mov eax, 4
mul rsi
mov rbp, 0xffffffffffffffff
cmovo rax, rbp
mov rcx, rax
call fcn.1402b7fa4
mov r12, rax
mov qword [rsp + 0x38], rax
mov ebx, 0x400
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x20]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1401127c2
nop word [rax + rax]
mov edi, dword [rsp + 0x20]
cmp edi, ebx
jb 0x140112673
mov rcx, r12
call fcn.1402bcebc
add esi, esi
mov eax, 4
mul rsi
cmovo rax, rbp
mov rcx, rax
call fcn.1402b7fa4
mov r12, rax
mov qword [rsp + 0x38], rax
lea ebx, [rsi*4]
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x20]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x140112620
jmp 0x1401127c2
shr edi, 2
mov ebp, r13d
test edi, edi
je 0x1401127b4
mov rsi, r12
lea r12, [0x14034d1a0]
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x1401127a1
mov r9d, 0x400
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x1401126e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rsi]
lea rcx, str.GetModuleFileNameEx___failed_on_PID__u___d__r_n
call fcn.1402bf424
jmp 0x140112793
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401126f0
mov qword [rsp + 0x30], r13
test ebx, ebx
jne 0x14011270a
mov qword [rsp + 0x28], r12
jmp 0x140112731
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x30]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400d5970
nop
cmp dword [rsp + 0x30], 0
jle 0x14011275f
mov rcx, qword [rsp + 0x28]
call fcn.1402bd0e0
xor r8d, r8d
lea rdx, [0x140351f90]
lea rcx, [rsp + 0x40]
call fcn.140202b80
movzx r15d, r15b
test al, al
mov eax, 1
cmovne r15d, eax
cmp dword [rsp + 0x48], 0
jle 0x140112793
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15b, r15b
jne 0x1401127af
inc ebp
add rsi, 4
cmp ebp, edi
jb 0x140112690
mov r12, qword [rsp + 0x38]
mov rcx, r12
call fcn.1402bcebc
movzx eax, r15b
jmp 0x1401127cc
mov rcx, r12
call fcn.1402bcebc
xor al, al
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140113470
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x140431ac0]
test al, 1
jne 0x1401134ae
or eax, 1
lea rcx, [0x1403050b0]
mov qword [0x140431ad0], 0xffffffff80000002
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x14011360e
mov rcx, qword [rax + 8]
lea rdx, str.Ignore
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.HiddenPUPs
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.FalsePositives
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.AutoUpload
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoCookieScan
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoRemnantScan
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoRestorePoint
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoSSL
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoCompression
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.NoPUPScan
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, [0x140351f58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 8]
lea rdx, str.HideLnkExploitUntil
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov al, 1
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
ret
Function at 0x1401137c0
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movzx ebx, r8b
mov rdi, rcx
lea rcx, [rdx + 8]
lea rdx, [rsp + 0x20]
call fcn.140205230
nop
xor eax, eax
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [0x14032eb00]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14032eb10]
movups xmmword [rsp + 0x88], xmm1
mov edx, dword [rsp + 0x2c]
add edx, edx
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call fcn.14018f300
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14018f3f0
lea rax, [rdi + 0x5b0]
mov qword [rsp + 0x30], rax
lea rsi, [rax + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rdi + 0x5e0]
test bl, bl
je 0x140113888
movzx r9d, byte [0x14043124b]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14011db70
jmp 0x140113892
lea rdx, [rsp + 0x50]
call fcn.14011be70
mov rcx, rdi
call fcn.140113730
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp dword [rsp + 0x28], 0
jle 0x1401138b6
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401138e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, rdx
mov rbp, rcx
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140205230
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
movups xmm0, xmmword [0x14032eb00]
movups xmm1, xmmword [0x14032eb10]
xor eax, eax
lea r8, [rsp + 0x60]
add edx, edx
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x60], rax
call fcn.14018f300
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14018f3f0
lea rcx, [rbp + 0x5b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x608]
mov rdx, rcx
and rdx, qword [rsp + 0x4e]
cmp qword [rbp + 0x610], rdx
ja 0x14011398d
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [rbp + 0x5f0]
mov rdi, qword [rbp + 0x5e0]
lea rax, [rdx + rdx]
mov rsi, qword [rcx + rax*8]
mov rbx, rdx
lea r14, [rcx + rax*8]
add rbx, rbx
mov rbx, qword [rcx + rbx*8]
cmp rsi, rdi
jne 0x1401139bb
mov rax, rdi
jmp 0x1401139c2
mov rax, qword [r14 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140113a0e
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call fcn.1402c8000
test eax, eax
je 0x1401139e4
mov rbx, qword [rbx]
jmp 0x1401139b1
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x38]
mov r8d, 0x20
call fcn.1402c8000
mov qword [rsp + 0x20], rdi
test eax, eax
jne 0x140113a06
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x20]
mov rdi, qword [rdi]
cmp rdi, qword [rbp + 0x5e0]
lea rcx, [rbp + 0x5b8]
setne bl
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsp + 0x30], 0
jle 0x140113a36
mov rcx, qword [rsp + 0x28]
call fcn.1402bd0e0
movzx eax, bl
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140113e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, r9
mov rbx, rdx
mov qword [rax - 0x60], r8
lea r15, [r8 + 8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor ecx, ecx
call fcn.1400f4570
mov r14, rax
test rax, rax
je 0x140113f65
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x50], rax
xor edi, edi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x68], rax
mov rbx, qword [rbx]
mov dword [rsp + 0xa0], edi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140113f41
cmp dword [rsp + 0xb0], 3
jne 0x140113f41
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.1400d3f50
mov rdi, qword [rsp + 0x60]
test al, al
je 0x140113f41
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140113f41
mov rbx, rdi
movsxd rsi, dword [rsp + 0x58]
add rsi, rdi
cmp rdi, rsi
jae 0x140113f41
nop dword [rax]
movzx r9d, byte [0x14043124b]
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14011db70
add rbx, 0x20
cmp rbx, rsi
jb 0x140113f20
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
nop
test rdi, rdi
je 0x140113f65
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140113f90
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rdi, r9
mov r15, rdx
mov qword [rsp + 0x60], r8
lea r14, [r8 + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140114007
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x1401140b1
mov rsi, qword [rdi + 8]
test esi, esi
jne 0x140114045
mov rdx, qword [r15]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401140a3
shl esi, 5
movsxd rcx, esi
call fcn.1402b7fa4
mov rbp, rax
mov rcx, qword [rdi]
mov rdx, qword [rcx]
cmp rdx, rcx
je 0x14011407c
mov rcx, rax
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
lea rcx, [rcx + 0x20]
mov rdx, qword [rdx]
cmp rdx, qword [rdi]
jne 0x140114061
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbp
call fcn.1402bcebc
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140114850
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor eax, eax
lea rcx, [rsp + 0x48]
mov rbx, rdx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x84]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.1402c5760
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [rsp + 0x68]
movzx r8d, word [rsp + 0x194]
cmp word [rsp + 0x48], 9
mov r9d, dword [rsp + 0x88]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x8c]
lea rax, [0x1403562d8]
lea rdx, [0x1403562d0]
cmove rdx, rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x84]
lea rdx, str._u._u._u._u._s__u
mov rcx, rbx
call fcn.140202d40
mov rax, rbx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x1b0
pop rbx
ret