joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dbd0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov dword [rsp + 0x5c], edx
lea rax, [r11 - 0x20]
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x38], rax
mov edi, edx
lea rax, [r11 - 0x28]
mov dword [rsp + 0x58], ebx
mov qword [r11 - 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlcfgAdll
mov qword [r11 - 0x48], rbx
mov rsi, rcx
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14001dc57
lea r8, str.RegCreateKeyEx
mov edx, eax
lea rcx, [0x140077e88]
call fcn.140004d20
jmp 0x14001dcba
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [0x140077e88]
test eax, eax
je 0x14001dc9b
lea r8, str.RegSetValueEx
mov edx, eax
call fcn.140004d20
jmp 0x14001dcaf
mov r8d, edi
lea rdx, str.Success_writing_to_Registry._value_d
call fcn.1400042c0
mov ebx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140023e40
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14001de40
Capabilities:
Get session information

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140026cc0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], edi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x14001df0f
lea rcx, [rsp + 0x38]
mov edx, eax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
xor ecx, ecx
lea r8d, [rdi + 0x19]
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
jne 0x14001dec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.WTSQuerySessionInformation_fail__lu
lea rcx, [0x140077e88]
call fcn.140004170
jmp 0x14001df0f
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x270], rbx
lea rbx, [rcx + 0x56]
test rbx, rbx
je 0x14001defc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14001def7
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x270]
test rcx, rcx
je 0x14001df0f
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
lea rax, [rsp + 0x40]
lea r9, str.isDefaultUser
mov qword [rsp + 0x20], rax
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__username__S
lea rcx, [0x140077e88]
call fcn.1400042c0
lea rdx, str.defaultuser0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140023e40
add rsp, 0x260
pop rdi
ret
Function at 0x14001e7c0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0xba0]
sub rsp, 0xca0
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rbp + 0xb90], rax
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x560]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x770]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x980]
mov r8d, 0x208
call fcn.140026cc0
mov edx, 0x104
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._sAsusDownLoadLicense.exe
lea rcx, [rbp + 0x140]
call fcn.1400012b0
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._sAsusDownLoadAgent.exe
lea rcx, [rbp + 0x350]
call fcn.1400012b0
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._s_syncas.dll
lea rcx, [rbp + 0x560]
call fcn.1400012b0
lea r8, str.C:ProgramDataASUS
mov edx, 0x104
lea rcx, [rbp + 0x770]
call fcn.1400012b0
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001e8ff
test al, 0x10
jne 0x14001e8ff
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001e922
test al, 0x10
jne 0x14001e922
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001e945
test al, 0x10
jne 0x14001e945
lea rcx, [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x770]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001e976
test al, 0x10
je 0x14001e976
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x980]
lea rcx, [rbp + 0x770]
call fcn.1400140b0
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.140023e40
add rsp, 0xca0
pop rbp
ret
Function at 0x14001ecd0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x680
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x670], rax
cmp dword [rcx + 0x27c], 0
mov edi, edx
mov rbx, rcx
je 0x14001eed4
xor edx, edx
mov qword [rsp + 0x698], rsi
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140026cc0
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.140026cc0
mov edx, 0x104
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [rsp + 0x250]
mov edx, 0x104
lea r8, str._sAsusDownLoadLicense.exe
lea rcx, [rsp + 0x40]
call fcn.1400012b0
lea r8, [rsp + 0x40]
mov ecx, 0x12c
lea rdx, [0x140065f48]
call fcn.140010650
mov esi, eax
cmp edi, 2
jne 0x14001ed9c
lea rdx, str._s__asusdownloadbar__waitobj__barstyle_rog__barProduct_Grid
jmp 0x14001edb1
cmp edi, 3
lea rdx, str._s__asusdownloadbar__waitobj__barstyle_armourycrate__barProduct__Armoury_Crate_
lea rax, str._s__asusdownloadbar__waitobj
cmovne rdx, rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call fcn.140001d70
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001ee7e
test al, 0x10
jne 0x14001ee7e
lea rcx, [rsp + 0x38]
call fcn.140012320
test al, al
je 0x14001ee72
mov ecx, 0x540
call fcn.140024108
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, 0x540
mov rcx, rax
mov rbx, rax
call fcn.140026cc0
mov rcx, rbx
call fcn.1400185a0
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], 0
xor r8d, r8d
lea rdx, [rsp + 0x460]
mov rcx, rax
mov rbx, rax
call fcn.140012430
test al, al
jne 0x14001ee63
lea r9, str.onProgressBarRun
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__startNormalUi_fail
lea rcx, [0x140077e88]
call fcn.1400042c0
test rbx, rbx
je 0x14001eecc
mov rcx, rbx
call fcn.1400192c0
jmp 0x14001eecc
xor edx, edx
mov rcx, rbx
call fcn.14001dd20
jmp 0x14001eecc
lea rax, [rsp + 0x40]
lea r9, str.onProgressBarRun
mov qword [rsp + 0x20], rax
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__file_not_found__S
lea rcx, [0x140077e88]
call fcn.1400042c0
mov r8d, esi
mov rcx, rbx
call fcn.140011870
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.file_not_found
mov rcx, rbx
mov r8d, eax
call fcn.1400117a0
mov rsi, qword [rsp + 0x698]
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140023e40
mov rbx, qword [rsp + 0x6a0]
add rsp, 0x680
pop rdi
ret
Function at 0x140020bf0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140020caf
mov qword [rsp + 0x280], rbx
lea rcx, [rsp + 0x4c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140020c64
add rcx, 2
test eax, eax
jne 0x140020c50
test edx, edx
jne 0x140020c95
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140020c95
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140020c42
mov rbx, qword [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140023e40
mov rsi, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140021670
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
xor ebp, ebp
mov qword [r11 - 0x28], rbp
lea rax, [r11 - 0x28]
mov qword [r11 - 0x68], rax
lea r9, [0x140051b98]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x140051b88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400216ea
mov r8d, eax
lea rdx, str.Failed_to_create_IWbemLocator_object.__lx
lea rcx, [0x140077e88]
call fcn.140004170
xor al, al
jmp 0x140021835
mov rax, qword [rsp + 0x60]
mov qword [rsi], rax
mov qword [rsp + 0x68], rbp
mov rdi, qword [rsi + 0x18]
mov ecx, 0x18
call fcn.140024108
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140021742
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140021745
test rdi, rdi
jne 0x140021866
jmp 0x140021745
mov rbx, rbp
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14002185b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400217c5
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400217a6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400217b8
call fcn.140023e64
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.140023e64
test edi, edi
jns 0x1400217e3
mov r8d, edi
lea rdx, str.Could_not_ConnectServer.___lx
lea rcx, [0x140077e88]
call fcn.140004170
xor al, al
jmp 0x140021835
mov rcx, qword [rsp + 0x68]
mov qword [rsi + 8], rcx
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140021833
mov r8d, eax
lea rdx, str.Could_not_set_proxy_blanket___lx
lea rcx, [0x140077e88]
call fcn.140004170
xor al, al
jmp 0x140021835
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140023e40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x8007000e
call fcn.140025230
nop
mov ecx, 0x8007000e
call fcn.140025230
int3
Function at 0x14000c8a8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
test edx, edx
je 0x14000c8de
mov r9, rcx
mov rax, r9
lea rcx, [0x140069980]
sub rax, r10
and eax, 0xf
mov cl, byte [rax + rcx]
xor cl, byte [r9]
xor cl, r8b
inc r8d
not cl
mov byte [r9], cl
inc r9
cmp r8d, edx
jb 0x14000c8b5
ret
Function at 0x14005a108
Capabilities:
Parse pe header

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
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r14d, 1
cmp qword [0x1400b7688], r12
jne 0x14005a269
xor ecx, ecx
call fcn.140060b54
mov rcx, rax
mov rdi, rax
call fcn.14005ada0
test al, al
jne 0x14005a159
mov eax, r14d
jmp 0x14005a2d2
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x14005a16d
mov eax, 2
jmp 0x14005a2d2
cmp dword [rdi + 0x3c], 0x400
jl 0x14005a180
mov eax, 3
jmp 0x14005a2d2
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
je 0x14005a199
mov eax, 4
jmp 0x14005a2d2
mov qword [0x1400b7688], r12
movzx r15d, r12w
movzx esi, word [rbx + 0x14]
add rsi, rbx
cmp r12w, word [rbx + 6]
jae 0x14005a287
movsx rax, r15w
lea rbp, [rax + rax*4]
mov eax, dword [rsi + rbp*8 + 0x3c]
test eax, 0x22000020
jne 0x14005a1f1
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x14005a1f1
cmp dword [rsi + rbp*8 + 0x20], 0x10
jb 0x14005a1f1
mov eax, dword [rsi + rbp*8 + 0x24]
test eax, eax
je 0x14005a1f1
lea rcx, [rdi + rax]
call fcn.14005ada0
test al, al
jne 0x14005a220
movzx ecx, word [rbx + 6]
add r15w, r14w
movsx eax, r15w
cmp eax, ecx
jl 0x14005a1b6
mov rcx, qword [0x1400b7688]
test rcx, rcx
je 0x14005a287
call fcn.14005ada0
test al, al
jne 0x14005a23b
mov eax, 6
jmp 0x14005a2d2
mov eax, dword [rsi + rbp*8 + 0x24]
mov ecx, dword [rsi + rbp*8 + 0x20]
add rax, rdi
add rcx, 0xfffffffffffffff0
add rcx, rax
mov qword [0x1400b7688], rcx
jmp 0x14005a208
mov rdx, qword [0x1400b7688]
lea rcx, [0x1400b7678]
mov r8d, 0x10
call sub.ntdll.dll_memcpy
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [0x1400b7690], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x4000
call fcn.14005a334
test eax, eax
jne 0x14005a28e
mov eax, 7
jmp 0x14005a2d2
mov eax, 5
jmp 0x14005a2d2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r14d
call fcn.14005a384
test eax, eax
jne 0x14005a2aa
mov eax, 8
jmp 0x14005a2d2
mov rax, qword [0x1400b7688]
movabs rcx, 0xcc873400686c0003
mov qword [rax], rcx
lea rcx, [0x1400b7600]
mov rax, qword [0x1400b7688]
mov qword [rax + 8], rcx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14005cba8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
lea rdx, [rsp + 0x40]
mov rbx, rcx
call fcn.14000c6b0
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call fcn.140046aac
mov rdx, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp rdx, 0xffffffffffffffff
jne 0x14005cc2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14005cc26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14005cc26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x14005cc45
xor al, al
jmp 0x14005cc34
mov rcx, rdx
call fcn.140009e18
mov al, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x1400a12f0]
mov r8d, eax
call fcn.14005e668
call fcn.140061bf0
int3

Function at 0x140060d4c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rsi, rdx
mov rbx, rcx
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x140060e2d
cmp dword [rax + rcx + 0x8c], 0
je 0x140060e2d
call 0x140062418
mov r14d, eax
mov rcx, rbx
add r14, rbx
mov edx, dword [r14 + 0x20]
call 0x140062418
mov edx, dword [r14 + 0x24]
mov rcx, rbx
mov r13d, eax
add r13, rbx
call 0x140062418
mov edx, dword [r14 + 0x1c]
mov rcx, rbx
mov r15d, eax
add r15, rbx
call 0x140062418
mov r12d, eax
xor edi, edi
add r12, rbx
cmp dword [r14 + 0x18], edi
jbe 0x140060e3f
mov edx, dword [r13 + rdi*4]
mov rcx, rbx
call 0x140062418
mov edx, eax
mov rcx, rsi
add rdx, rbx
call fcn.1400471ec
test al, al
jne 0x140060e00
inc edi
cmp edi, dword [r14 + 0x18]
jae 0x140060e3f
jmp 0x140060dd8
movzx edx, word [r15 + rdi*2]
mov rcx, rbx
mov edx, dword [r12 + rdx*4]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp 0x140062418
lea rcx, [0x1400a151e]
call fcn.14005e668
call fcn.140061bf0
int3
mov rdx, rsi
lea rcx, [0x1400a1594]
call fcn.14005e668
call fcn.140061bf0
int3
push rbx
sub rsp, 0x20
movsxd r10, dword [rcx + 0x3c]
xor r8d, r8d
add r10, rcx
mov r11d, edx
movzx ebx, word [r10 + 6]
test rbx, rbx
je 0x140062474
lea r9, [r10 + 0x110]
mov edx, dword [r9 + 4]
cmp r11d, edx
jb 0x14006244f
mov ecx, dword [r9]
add ecx, edx
cmp r11d, ecx
jb 0x14006245d
inc r8
add r9, 0x28
cmp r8, rbx
jae 0x140062474
jmp 0x14006243c
lea rax, [r8 + r8*4]
mov eax, dword [r10 + rax*8 + 0x11c]
sub eax, edx
add eax, r11d
add rsp, 0x20
pop rbx
ret
lea rcx, [0x1400a1500]
call fcn.14005e668
call fcn.140061bf0
int3
Function at 0x140060e54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov r15, rdx
lea rdx, [rsp + 0x20]
call fcn.14000c6d8
lea rcx, [rsp + 0x20]
call fcn.140060be4
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x140060f1a
cmp dword [rax + rdi + 0x8c], 0
je 0x140060f1a
lea rbx, [rdi + rcx]
mov r14d, dword [rbx + 0x24]
mov esi, dword [rbx + 0x1c]
add r14, rdi
add rsi, rdi
cmp r15, 0x10000
jae 0x140060ee6
mov eax, dword [rsi + r15*4 - 4]
lea r11, [rsp + 0xf0]
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
mov r12d, dword [rbx + 0x20]
xor ebp, ebp
add r12, rdi
cmp dword [rbx + 0x18], ebp
jbe 0x140060f2c
mov edx, dword [r12 + rbp*4]
mov rcx, r15
add rdx, rdi
call sub.ntdll.dll_strcmp
test eax, eax
je 0x140060f10
inc ebp
cmp ebp, dword [rbx + 0x18]
jae 0x140060f2c
jmp 0x140060ef4
movzx eax, word [r14 + rbp*2]
mov eax, dword [rsi + rax*4]
jmp 0x140060ec5
lea rcx, [0x1400a15fa]
call fcn.14005e668
call fcn.140061bf0
int3
lea rcx, [0x1400a1676]
call fcn.14005e668
call fcn.140061bf0
int3

Function at 0x140061054
Capabilities:
Enumerate processes

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
push r14
push r15
sub rsp, 0x150
and dword [rcx], 0
xor edx, edx
mov r15, rcx
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006114e
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140061168
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc r14d
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400610b1
mov eax, r14d
imul rcx, rax, 0x130
call fcn.14005df7c
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r12, rax
xor ebp, ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140061182
mov eax, ebp
lea rsi, [rsp + 0x20]
imul rdi, rax, 0x130
inc ebp
mov ecx, 0x130
add rdi, r12
rep movsb byte [rdi], byte [rsi]
cmp ebp, r14d
jae 0x14006111e
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400610ee
mov rcx, rbx
call fcn.140009e18
lea r11, [rsp + 0x150]
mov dword [r15], ebp
mov rbx, qword [r11 + 0x20]
mov rax, r12
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a141e]
call fcn.14005e668
call fcn.140061bf0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a1460]
call fcn.14005e668
call fcn.140061bf0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a14a2]
call fcn.14005e668
call fcn.140061bf0
int3
Function at 0x14000526c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov r11, rdx
mov rbx, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400052df
mov r9d, dword [r8 + 0xf0]
xor edx, edx
test r9d, r9d
je 0x1400052df
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r10d, word [r8 + 6]
add rcx, rax
mov r9d, dword [r9 + rdi + 0xc]
test r10d, r10d
je 0x1400052df
mov eax, dword [rcx + 0xc]
cmp r9d, eax
jb 0x1400052d4
mov r8d, dword [rcx + 8]
add eax, r8d
cmp r9d, eax
jb 0x1400052ec
inc edx
add rcx, 0x28
cmp edx, r10d
jb 0x1400052c0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov dword [rbx], r8d
mov eax, dword [rcx + 0x24]
mov dword [r11], eax
mov eax, dword [rcx + 0xc]
add rax, rdi
jmp 0x1400052e1

Function at 0x140009bc4
Capabilities:
Log keystrokes via polling
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
lea r14, [r8 + 8]
mov rdi, rcx
mov r15, r8
mov rcx, qword [r14]
mov r12, rdx
lea r13d, [rbx + 1]
test rcx, rcx
je 0x140009c6c
mov edx, 0xfffd
lea r8d, [rbx + 2]
movzx eax, word [rcx]
sub ax, 0x2d
test dx, ax
jne 0x140009c5f
cmp word [rcx + 2], 0x2d
lea rbp, str.safe_mode
mov esi, 4
cmovne rsi, r8
add rsi, rcx
movzx ecx, word [rsi]
test cx, cx
je 0x140009c54
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, word [rbp]
jne 0x140009c54
add rbp, 2
add rsi, 2
cmp word [rbp], bx
jne 0x140009c2d
cmp word [rsi], bx
je 0x140009cbe
mov edx, 0xfffd
mov r8d, 2
mov rcx, qword [r14 + 8]
add r14, 8
test rcx, rcx
jne 0x140009c09
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
je 0x140009ce5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x140009ce5
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x140009ce5
lea rcx, str.MOZ_DISABLE_SAFE_MODE_KEY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140009cb8
cmp byte [rax], 0
jne 0x140009ce5
movzx ebx, r13b
jmp 0x140009ce9
lea r8, str.osint
mov dword [rsp + 0x20], 0
mov rdx, r15
mov rcx, r12
mov ebx, r13d
call fcn.140009ab4
cmp eax, ebx
jne 0x140009c6c
mov byte [rdi + 1], 0
jmp 0x140009d47
test bl, bl
je 0x140009d25
lea r8, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call fcn.14000d098
test al, al
je 0x140009d07
cmp dword [rsp + 0x78], r13d
jne 0x140009d25
jmp 0x140009d23
lea r8, [rsp + 0x78]
mov rcx, 0xffffffff80000001
call fcn.14000d098
test al, al
je 0x140009d25
cmp dword [rsp + 0x78], r13d
jne 0x140009d25
xor bl, bl
lea rcx, str.MOZ_SAFE_MODE_RESTART
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140009d41
cmp byte [rax], 0
movzx ebx, bl
cmovne ebx, r13d
mov byte [rdi], bl
mov byte [rdi + 1], r13b
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000a23c
Capabilities:
Parse pe header

Disassembly:
and qword [rcx + 8], 0
mov r8, rcx
and qword [rcx + 0x10], 0
mov qword [rcx], rdx
test rdx, rdx
je 0x14000a27c
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000a27c
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [r8 + 8], rcx
je 0x14000a27c
cmp dword [rcx], 0x4550
jne 0x14000a27c
mov ecx, dword [rcx + 0x50]
dec ecx
add rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, r8
ret