joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a848
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x1a8], 0
mov rbx, rcx
je 0x14000a8e4
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000a8e4
call qword [sym.imp.USER32.dll_EmptyClipboard]
and dword [rsp + 0x20], 0
xor edx, edx
lea r8d, [rdx + 0x1c]
lea rcx, [rsp + 0x24]
call fcn.14001d490
mov rcx, qword [rbx + 0x1a8]
lea r8, [rsp + 0x20]
mov edx, 0x20
call qword [sym.imp.GDI32.dll_GetObjectA]
mov r11d, dword [rsp + 0x28]
mov eax, dword [rsp + 0x24]
mov rcx, qword [rbx + 0x1a8]
lea r8d, [r11 + r11*4]
lea edx, [rax + rax*4]
mov r9d, 1
call fcn.140009ea0
mov ecx, 2
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
add rsp, 0x40
pop rbx
ret

Function at 0x14000b1ec
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x14003aca0]
mov rbx, rdx
mov byte [rdx], 0
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x14003164b]
lea rcx, [0x14003adb0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14000b22c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1040
call fcn.14002e9a0
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call fcn.14001d490
lea r11, [0x14003aca0]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r8, [0x14003164b]
lea rcx, [0x14003adb0]
mov rdx, rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
je 0x14000b2a5
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001cde0
mov eax, 1
jmp 0x14000b2a7
xor eax, eax
mov rbx, qword [rsp + 0x1050]
add rsp, 0x1040
pop rdi
ret

Function at 0x14000b2b8
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
mov eax, 0x1040
call fcn.14002e9a0
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call fcn.14001d490
lea rbp, [0x14003aca0]
lea r9, [rsp + 0x30]
lea r8, [0x14003164b]
lea rcx, [0x14003adb0]
mov rdx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
jne 0x14000b33a
lea rcx, [0x14003adb0]
mov r9, rbp
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x14000b33c
xor eax, eax
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000b6d0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
sub rsp, 0x130
lea rcx, [rsp + 0x21]
xor ebx, ebx
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x20], bl
call fcn.14001d490
lea rdx, [rsp + 0x20]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rbx + 0x2e]
lea rcx, [rsp + 0x20]
call fcn.14001da60
cmp rax, rbx
je 0x14000b718
mov byte [rax], bl
lea rdx, str._lng.ini
lea rcx, [rsp + 0x20]
call fcn.14001cd40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000b7d5
lea rdx, [rsp + 0x20]
lea rcx, [0x14003aca0]
call fcn.14001cde0
lea rdx, str.general
lea rcx, [0x14003adb0]
call fcn.14001cde0
lea r9, [0x14003aca0]
lea rdx, [0x140031ef4]
lea rcx, [0x14003adb0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea rdx, [0x14003ae00]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x14003ab44], ebx
mov ebx, 0x3f
mov r8d, ebx
call fcn.14000b1ec
lea rdx, [0x14003ae40]
lea rcx, str.TranslatorName
mov r8d, ebx
call fcn.14000b1ec
lea rdx, [0x14003ae80]
lea rcx, str.TranslatorURL
mov r8d, 0xff
call fcn.14000b1ec
add rsp, 0x130
pop rbx
ret

Function at 0x14000cd4c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
xor esi, esi
mov r13, r8
mov rbp, rdx
cmp dword [rcx + 0x40], esi
mov rdi, rcx
jle 0x14000ceb1
xor r12d, r12d
test r13, r13
mov rax, qword [rdi + 0x48]
movsxd rdx, dword [r12 + rax]
jne 0x14000cd92
mov rax, qword [rdi + 0x288]
lea rcx, [rdx + rdx*2]
mov rbx, qword [rax + rcx*8 + 0x10]
jmp 0x14000cda5
mov rax, qword [r13]
mov r8, qword [rdi + 0x88]
mov rcx, r13
call qword [rax]
mov rbx, rax
mov edx, 0x2c
mov rcx, rbx
call fcn.14001f0e0
test rax, rax
jne 0x14000cdd7
lea edx, [rax + 0x22]
mov rcx, rbx
call fcn.14001f0e0
test rax, rax
jne 0x14000cdd7
mov rdx, rbx
mov rcx, rbp
call fcn.140008d5c
jmp 0x14000ce88
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x20]
or r8d, 0xffffffff
mov dword [rsp + 0x34], 0x100
mov dword [rsp + 0x30], 1
mov word [rsp + 0x88], 0x22
call fcn.14000a1bc
jmp 0x14000ce40
cmp r11b, 0x22
jne 0x14000ce2c
or r8d, 0xffffffff
lea rdx, [0x140031f2c]
jmp 0x14000ce37
mov r8d, 1
lea rdx, [rsp + 0x70]
call fcn.14000a1bc
add rbx, 1
mov r11b, byte [rbx]
lea rcx, [rsp + 0x20]
test r11b, r11b
mov byte [rsp + 0x70], r11b
jne 0x14000ce19
lea rdx, [rsp + 0x88]
or r8d, 0xffffffff
call fcn.14000a1bc
mov rax, qword [rsp + 0x20]
lea rdx, [0x14003164b]
test rax, rax
mov rcx, rbp
cmovne rdx, rax
call fcn.140008d5c
lea rcx, [rsp + 0x20]
call fcn.14000a12c
mov eax, dword [rdi + 0x40]
sub eax, 1
cmp esi, eax
jge 0x14000cea1
lea rdx, [0x140031f30]
mov rcx, rbp
call fcn.140008d5c
add esi, 1
add r12, 4
cmp esi, dword [rdi + 0x40]
jl 0x14000cd73
lea rdx, [0x140031f34]
mov rcx, rbp
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140008d5c
Function at 0x14000ced0
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
xor r12d, r12d
mov rbp, r8
mov rdi, rdx
cmp dword [rcx + 0x40], r12d
mov rbx, rcx
jle 0x14000cf54
xor esi, esi
test rbp, rbp
mov rax, qword [rbx + 0x48]
movsxd rdx, dword [rsi + rax]
jne 0x14000cf1c
mov rax, qword [rbx + 0x288]
lea rcx, [rdx + rdx*2]
mov rax, qword [rax + rcx*8 + 0x10]
jmp 0x14000cf2c
mov rax, qword [rbp]
mov r8, qword [rbx + 0x88]
mov rcx, rbp
call qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140008d5c
lea rdx, [0x140031f38]
mov rcx, rdi
call fcn.140008d5c
add r12d, 1
add rsi, 4
cmp r12d, dword [rbx + 0x40]
jl 0x14000cefd
lea rdx, [0x140031f34]
mov rcx, rdi
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
jmp fcn.140008d5c

Function at 0x14000d608
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x130
mov rdi, rdx
mov rsi, rcx
lea rdx, str._item__r_n
mov rcx, rdi
mov r13, r8
call fcn.140008d5c
xor r12d, r12d
cmp dword [rsi + 0x40], r12d
jle 0x14000d6ee
xor ebp, ebp
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0xfe
mov byte [rsp + 0x30], 0
call fcn.14001d490
mov r11, qword [rsi + 0x48]
movsxd rbx, dword [r11 + rbp]
mov rax, qword [r13]
mov r8, qword [rsi + 0x88]
mov edx, ebx
mov rcx, r13
call qword [rax]
mov rcx, qword [rsi + 0x90]
mov rdx, rax
call fcn.14001ad9c
mov r8, qword [rsi + 0x60]
lea rax, [rbx + rbx*2]
mov r8, qword [r8 + rax*8 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000cb58
mov r9, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x98]
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, str.__s__s___s__r_n
mov qword [rsp + 0x20], r11
call fcn.14001cad0
mov rdx, qword [rsi + 0x98]
mov rcx, rdi
call fcn.140008d5c
add r12d, 1
add rbp, 4
cmp r12d, dword [rsi + 0x40]
jl 0x14000d64a
lea rdx, str.__item__r_n
mov rcx, rdi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.140008d5c
Function at 0x14001084c
Capabilities:
Delete file
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rsi, rdx
mov rbp, rcx
xor r9d, r9d
mov rcx, qword [rsi + 0x1f8]
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageA]
mov rbx, rax
jmp 0x14001097d
lea rdx, [rsp + 0x30]
mov r8d, ebx
mov rcx, rsi
call fcn.14000c4f4
test eax, eax
je 0x14001097d
mov rax, qword [rbp + 0x3e0]
mov rdi, qword [rsp + 0x30]
cmp dword [rax + 0x5fc], 2
je 0x14001097d
lea rcx, [rdi + 0x394]
cmp byte [rcx], 0
je 0x1400108c9
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14001097d
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x40], 0
call fcn.14001d490
lea rdx, [rsp + 0x40]
lea rcx, [0x1400388e0]
call fcn.140009d4c
lea r11, [rsp + 0x178]
lea rdx, [rsp + 0x40]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001097d
mov rcx, qword [rsp + 0x178]
lea rax, [rsp + 0x168]
lea rdx, [rdi + 0x294]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001096f
mov rcx, qword [rsp + 0x168]
lea rdx, [rdi + 0x499]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub ebx, 1
jns 0x140010881
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret

Function at 0x140010ba4
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push rbx
sub rsp, 0x250
mov rbx, rcx
lea rdx, [rsp + 0x140]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140010bda
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r9, [rsp + 0x30]
lea rdx, [0x140032240]
lea rcx, [rsp + 0x140]
xor r8d, r8d
mov byte [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov r9d, 1
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 1]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.1400107f0
test eax, eax
je 0x140010c5c
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140010c39
lea rcx, [rsp + 0x30]
call fcn.140009028
jmp 0x140010c3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140010c51
mov rcx, qword [rbx + 0x110]
mov edx, eax
call fcn.140008d9c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rsp, 0x250
pop rbx
ret
Function at 0x14001137c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, rdx
mov rbp, rcx
xor edx, edx
mov rcx, rax
call fcn.140008cfc
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140011400
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rbx + 1]
call fcn.14001d8c0
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, rdi
mov rcx, rbp
mov byte [rbx + rdi], 0
call fcn.140010fec
mov rcx, rdi
call fcn.14001d830
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400129c0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x140
mov rdi, rcx
mov rcx, qword [rcx + 0x3e0]
lea rdx, [rax + 8]
call fcn.14000c588
test eax, eax
je 0x140012a6a
mov rbx, qword [rsp + 0x150]
cmp byte [rbx + 0x394], 0
je 0x140012a6a
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x30], 0
call fcn.14001d490
lea rdx, [rbx + 0x394]
lea rcx, [rsp + 0x30]
call fcn.14001cde0
lea rcx, [rsp + 0x30]
mov edx, 0x5c
call fcn.14001da60
test rax, rax
jne 0x140012a3d
mov byte [rsp + 0x30], al
jmp 0x140012a40
mov byte [rax], 0
mov rcx, qword [rdi + 0x110]
lea r8, [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x140012a7c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x700
mov rcx, qword [rcx + 0x3e0]
lea rdx, [rax + 8]
call fcn.14000c588
test eax, eax
je 0x140012c1e
mov rdi, qword [rsp + 0x710]
add rdi, 0x394
cmp byte [rdi], 0
je 0x140012c1e
mov esi, 0x104
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8, rsi
mov byte [rsp + 0x1f0], 0
call fcn.14001d490
lea rcx, [rsp + 0xe1]
mov r8, rsi
xor edx, edx
mov byte [rsp + 0xe0], 0
call fcn.14001d490
lea rcx, [rsp + 0x301]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x300], 0
call fcn.14001d490
lea rcx, [rsp + 0x1f0]
call fcn.14000951c
lea rcx, str.notepad.exe
call fcn.14001d780
lea rcx, [rsp + 0x1f0]
mov rbx, rax
call fcn.14001d780
lea rcx, [rbx + rax + 1]
cmp rcx, rsi
jae 0x140012b66
lea r8, [rsp + 0xe0]
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x1f0]
call fcn.1400094c0
jmp 0x140012b6e
mov byte [rsp + 0xe0], 0
lea r9, [rsp + 0xe0]
lea r8, str._s___s_
lea rcx, [rsp + 0x300]
mov edx, 0x3ff
mov qword [rsp + 0x20], rdi
call fcn.14001cea0
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.14001d490
and qword [rsp + 0x50], 0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x300]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140012c1e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001575c
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rbx
mov rdi, rax
call fcn.14001571c
test eax, eax
je 0x14001584b
mov rcx, qword [rbx]
lea rdx, str.OpenProcessToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001584b
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rdi
call rax
test eax, eax
je 0x14001584b
mov rcx, rbx
call fcn.14001571c
test eax, eax
je 0x1400157e3
mov rcx, qword [rbx]
lea rdx, str.LookupPrivilegeValueA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400157e3
lea r8, [rsp + 0x34]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call fcn.14001571c
test eax, eax
je 0x140015834
mov rcx, qword [rbx]
lea rdx, str.AdjustTokenPrivileges
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140015834
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140015851
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001585c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14003b054], 0
jne 0x14001592a
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov rbx, rax
je 0x14001592a
lea rdx, [0x140032588]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a9f0], rax
je 0x14001592a
lea rdx, str.Module32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a9e0], rax
je 0x14001592a
lea rdx, str.Module32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a9d8], rax
je 0x14001592a
lea rdx, [0x1400325c8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a8b8], rax
je 0x14001592a
lea rdx, [0x1400325d8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x14003b054]
mov edx, 1
test rax, rax
mov qword [0x14003a9d0], rax
cmovne ecx, edx
mov dword [0x14003b054], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140015930
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14003b058], 0
jne 0x140015a12
lea rcx, str.psapi.dll
call fcn.140009e1c
test rax, rax
mov rbx, rax
je 0x140015a12
lea rdx, str.GetModuleBaseNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003aa08], rax
je 0x1400159ff
lea rdx, str.EnumProcessModules
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a9f8], rax
je 0x1400159ff
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003a9e8], rax
je 0x1400159ff
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14003ab38], rax
je 0x1400159ff
lea rdx, str.GetModuleInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x14003b058]
mov edx, 1
test rax, rax
mov qword [0x14003aa00], rax
cmovne ecx, edx
mov dword [0x14003b058], ecx
jmp 0x140015a05
mov ecx, dword [0x14003b058]
test ecx, ecx
jne 0x140015a12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
ret
Function at 0x140015dcc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x3a0
mov rsi, rcx
mov rcx, qword [rcx + 0x48]
xor r12d, r12d
cmp rcx, r12
je 0x140015df5
call fcn.14001db00
xor edx, edx
mov qword [rsi + 0x48], r12
mov dword [rsi + 0x58], r12d
lea ecx, [rdx + 2]
mov dword [rsi + 0x50], r12d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rcx, [rsp + 0x274]
xor edx, edx
mov r8d, 0x12c
mov rbp, rax
call fcn.14001d490
lea rdx, [rsp + 0x270]
mov rcx, rbp
mov dword [rsp + 0x270], 0x130
call sub.KERNEL32.dll_Process32First
jmp 0x140015ff0
mov r8d, dword [rsp + 0x278]
mov eax, dword [rsp + 0x290]
xor edx, edx
mov ecx, 0x410
mov byte [rsp + 0x34], r12b
mov dword [rsp + 0x140], r12d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x13c], eax
mov dword [rsp + 0x144], r12d
mov dword [rsp + 0x148], r12d
mov dword [rsp + 0x14c], r12d
mov dword [rsp + 0x150], r12d
mov dword [rsp + 0x154], r12d
mov dword [rsp + 0x158], r12d
mov dword [rsp + 0x15c], r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, r12
mov rdi, rax
je 0x140015f9f
lea rcx, [rsp + 0x161]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x160], r12b
call fcn.14001d490
mov rcx, rsi
call fcn.14001602c
mov r11, qword [rsi + 0x20]
cmp r11, r12
je 0x140015f00
lea r8, [rsp + 0x160]
mov r9d, 0x104
xor edx, edx
mov rcx, rdi
call r11
cmp byte [rsp + 0x34], r12b
jne 0x140015f73
cmp dword [0x14003b5ec], r12d
mov dword [rsp + 0x3c0], 0x104
jne 0x140015f50
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp rax, r12
je 0x140015f50
lea rdx, str.QueryFullProcessImageNameA
mov rcx, rax
mov dword [0x14003b5ec], 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003b5f0], rax
jmp 0x140015f57
mov rax, qword [0x14003b5f0]
cmp rax, r12
je 0x140015f73
lea r9, [rsp + 0x3c0]
lea r8, [rsp + 0x160]
xor edx, edx
mov rcx, rdi
call rax
cmp byte [rsp + 0x161], 0x3a
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x34]
jne 0x140015f91
call fcn.14001cde0
jmp 0x140015f96
call fcn.140015a18
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rdi, dword [rsi + 0x58]
cmp edi, r12d
jl 0x140015ff0
mov eax, dword [rsi + 0x54]
lea r8, [rsi + 0x50]
lea rcx, [rsi + 0x48]
mov r9d, 0x130
mov edx, edi
mov dword [rsp + 0x20], eax
call fcn.1400092d4
lea r11d, [rdi + 1]
cmp dword [rsi + 0x58], r11d
jge 0x140015fd2
mov dword [rsi + 0x58], r11d
mov rcx, rdi
lea rdx, [rsp + 0x30]
mov r8d, 0x130
imul rcx, rcx, 0x130
add rcx, qword [rsi + 0x48]
call fcn.14001cf80
lea rdx, [rsp + 0x270]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
cmp eax, r12d
jne 0x140015e43
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14001602c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x1400160ae
lea rcx, str.psapi.dll
call fcn.140009e1c
lea rdx, str.GetModuleBaseNameA
mov rcx, rax
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.EnumProcessModules
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetModuleFileNameExA
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.EnumProcesses
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetModuleInformation
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140016388
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

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 r13
push r14
sub rsp, 0x340
mov rdi, r9
mov ebp, r8d
mov r13d, edx
mov r12, rcx
call fcn.14001610c
mov ebx, dword [rsp + 0x380]
cmp ebp, ebx
mov r14d, 0xff
lea rcx, [rsp + 0x41]
cmovb ebx, ebp
xor esi, esi
mov r8, r14
xor edx, edx
mov byte [rsp + 0x40], sil
call fcn.14001d490
lea rcx, [rsp + 0x141]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x140], sil
call fcn.14001d490
lea rcx, [rsp + 0x241]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x240], sil
call fcn.14001d490
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
call fcn.14001cf80
lea rcx, [rsp + 0x140]
mov r8, rbx
mov rdx, rdi
call fcn.14001cf80
cmp ebp, esi
jbe 0x140016456
mov rax, rbp
xor byte [rsp + rsi + 0x40], 0x5c
xor byte [rsp + rsi + 0x140], 0x36
add rsi, 1
sub rax, 1
jne 0x14001643f
lea rax, [rsp + 0x240]
lea r8, [rsp + 0x140]
mov r9d, ebp
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x390]
mov edx, r13d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x388]
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.14001628c
mov edx, r13d
mov rcx, r12
call fcn.140016180
mov rcx, qword [rsp + 0x398]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x240]
mov r9d, ebp
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.14001628c
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret