joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000290c
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.140001e1c
mov ebx, dword [rsp + 0x380]
cmp ebp, ebx
mov r14d, 0xff
lea rcx, [rsp + 0x141]
cmovb ebx, ebp
xor esi, esi
mov r8, r14
xor edx, edx
mov byte [rsp + 0x140], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x41]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x40], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x241]
mov r8, r14
xor edx, edx
mov byte [rsp + 0x240], sil
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x140]
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
cmp ebp, esi
jbe 0x1400029da
mov rax, rbp
xor byte [rsp + rsi + 0x40], 0x5c
xor byte [rsp + rsi + 0x140], 0x36
add rsi, 1
sub rax, 1
jne 0x1400029c3
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.14000214c
mov edx, r13d
mov rcx, r12
call fcn.140001c0c
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.14000214c
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
Function at 0x140002b5c
Capabilities:
Encode data using xor

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, 0xc0
mov rbx, r9
mov r15, r8
mov r12d, edx
mov r13, rcx
call fcn.140001e1c
mov edi, 0x3f
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8, rdi
mov byte [rsp + 0x40], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x81]
mov r8, rdi
xor edx, edx
mov byte [rsp + 0x80], 0
call sub.msvcrt.dll_memset
mov edx, r12d
mov rcx, r13
xor ebp, ebp
call fcn.140001c0c
lea r14d, [rbp + 0x40]
mov edi, eax
mov eax, 0x80
cmp r12d, 0x800e
cmove r14d, eax
lea rax, [rsp + 0x80]
mov r9, r15
mov qword [rsp + 0x38], rax
lea eax, [rbp + 0x14]
mov r8d, r14d
mov dword [rsp + 0x30], eax
mov rcx, r13
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.14000290c
mov ebx, dword [rsp + 0x118]
cmp ebx, 1
jne 0x140002c2e
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
mov r8, rdi
call sub.msvcrt.dll_memcpy
lea eax, [rbx - 1]
test eax, eax
je 0x140002ca9
mov rbx, rdi
mov esi, eax
lea rax, [rsp + 0x40]
mov r9, r15
mov r8d, r14d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov edx, r12d
mov rcx, r13
mov dword [rsp + 0x20], 0x14
call fcn.14000290c
test edi, edi
mov ebp, eax
je 0x140002c8e
xor edx, edx
mov r8, rbx
mov cl, byte [rsp + rdx + 0x80]
add rdx, 1
xor byte [rsp + rdx + 0x3f], cl
sub r8, 1
jne 0x140002c79
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
mov r8, rbx
call sub.msvcrt.dll_memcpy
sub rsi, 1
jne 0x140002c3a
mov rcx, qword [rsp + 0x120]
lea rdx, [rsp + 0x40]
mov r8, rdi
call sub.msvcrt.dll_memcpy
lea r11, [rsp + 0xc0]
mov eax, ebp
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 0x1400044a4
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov edi, edx
mov rsi, rcx
call fcn.1400042f4
xor ebx, ebx
cmp qword [0x14001e7d8], rbx
je 0x1400044fb
call fcn.1400114e4
cmp dword [rax + 0x10], 1
jne 0x1400044e5
cmp edi, 0x19
je 0x1400044fb
cmp edi, 0x17
je 0x1400044fb
cmp edi, 0x16
je 0x1400044fb
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
xor ecx, ecx
call qword [0x14001e7d8]
jmp 0x1400045b0
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call sub.msvcrt.dll_memset
cmp edi, 0x19
je 0x140004527
cmp edi, 0x17
je 0x140004527
cmp edi, 0x16
mov rcx, 0xffffffff80000001
jne 0x14000452e
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x180]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x14000458c
lea rdx, [rsp + 0x30]
mov ecx, edi
call fcn.140004134
mov rcx, qword [rsp + 0x180]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov r9d, 0x104
call fcn.14000637c
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x50]
mov rdx, rsi
lea rax, [rsp + 0x50]
sub rdx, rcx
mov cl, byte [rax]
mov byte [rdx + rax], cl
add rax, 1
cmp cl, bl
jne 0x14000459c
cmp byte [rsi], bl
setne bl
mov eax, ebx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400045c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8d, edx
mov r10d, edx
xor r11d, r11d
mov r9d, edx
mov rbx, rcx
imul r8d, edx
shr r10d, 2
je 0x14000460c
mov eax, dword [rbx]
add rbx, 4
lea ecx, [rax + r8]
mov edx, eax
imul edx, r11d
add r11d, 1
imul edx, r9d
imul edx, edx, 0x11
mov r8d, edx
xor r8d, ecx
cmp r11d, r10d
jb 0x1400045e6
mov rbx, qword [rsp + 8]
mov eax, r8d
ret

Function at 0x1400046e8
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
xor ecx, ecx
mov dword [0x14001e39c], 0x11223344
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400046b8]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov eax, dword [0x14001e39c]
add rsp, 0x28
ret
Function at 0x14000474c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx], 0
mov rbx, rcx
je 0x140004765
mov eax, 1
jmp 0x140004800
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [rbx], rax
je 0x1400047fe
xor ecx, ecx
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x20], 0x4e
mov qword [rsp + 0x29], rcx
mov qword [rsp + 0x21], rcx
mov byte [rsp + 0x30], cl
mov word [rsp + 0x31], cx
mov byte [rsp + 0x33], cl
mov rcx, rax
mov byte [rsp + 0x21], 0x74
mov byte [rsp + 0x2b], 0x65
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x26], 0x74
mov byte [rsp + 0x27], 0x65
mov byte [rsp + 0x22], 0x43
mov byte [rsp + 0x2a], 0x72
mov byte [rsp + 0x2d], 0x64
mov byte [rsp + 0x23], 0x72
mov byte [rsp + 0x2e], 0x45
mov byte [rsp + 0x2f], 0x78
mov byte [rsp + 0x24], 0x65
mov byte [rsp + 0x25], 0x61
mov byte [rsp + 0x28], 0x54
mov byte [rsp + 0x29], 0x68
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
jmp 0x14000475b
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x14000480c
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rsp + 0x24], 6
setae al
add rsp, 0xc8
ret

Function at 0x14000487c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xd0
mov rsi, rdx
mov rbx, rcx
call fcn.14000480c
xor edi, edi
cmp eax, edi
je 0x140004992
mov rcx, rbx
call fcn.14000474c
mov rbx, qword [rbx + 8]
cmp rbx, rdi
jne 0x1400048bb
xor eax, eax
jmp 0x1400049ca
xor edx, edx
lea rcx, [rsp + 0x88]
lea r8d, [rdx + 0x40]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x108]
xor eax, eax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov r9, rsi
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x80]
mov edx, 0x1fffff
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], 0x48
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x88], 0x10003
mov qword [rsp + 0x90], InitCommonControls
mov qword [rsp + 0xa8], 0x10004
mov qword [rsp + 0xb0], 8
mov qword [rsp + 0x60], rdi
call rbx
cmp eax, edi
cmove rdi, qword [rsp + 0x60]
mov rax, rdi
jmp 0x1400049ca
mov rax, qword [rsp + 0x118]
mov r9, qword [rsp + 0x100]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x108]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140004e60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x250
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x105
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
xor eax, eax
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x21], rax
mov dword [rsp + 0x29], eax
mov word [rsp + 0x2d], ax
mov byte [rsp + 0x2f], al
call fcn.140011374
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
test ecx, ecx
jle 0x140004ec7
mov edx, ecx
lea rcx, [rsp + 0x30]
call fcn.140011c24
call fcn.140016194
test eax, eax
jne 0x140004f01
mov byte [rsp + 0x29], al
mov byte [rsp + 0x22], 0x61
mov byte [rsp + 0x25], 0x2e
mov byte [rsp + 0x26], 0x65
mov byte [rsp + 0x24], 0x73
mov byte [rsp + 0x28], 0x65
mov byte [rsp + 0x20], 0x6c
mov byte [rsp + 0x23], 0x73
mov byte [rsp + 0x21], 0x73
mov byte [rsp + 0x27], 0x78
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140010cc4
call fcn.140008570
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.1400087b0
test eax, eax
je 0x140004f3c
mov eax, dword [rsp + 0x140]
test eax, eax
jne 0x140004f3e
xor eax, eax
add rsp, 0x250
pop rdi
ret
Function at 0x1400059f0
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
push r12
push r13
sub rsp, 0x30
mov r13, rdx
mov rdi, rcx
xor edx, edx
mov rcx, r13
xor ebx, ebx
call fcn.140011ce4
cmp rax, 0xffffffffffffffff
mov r12, rax
je 0x140005b20
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
add eax, 0xffffffef
cmp eax, 0xfffee
ja 0x140005b17
lea ecx, [rsi + 1]
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
lea r9, [rsp + 0x60]
mov r8d, esi
mov rcx, r12
mov rdx, rax
mov dword [rsp + 0x60], ebx
mov rbp, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x140005b0f
lea rcx, [rdi + 0x260]
mov r8d, 0x104
mov rdx, r13
call fcn.140011854
mov edx, dword [rbp]
lea rcx, [rsp + 0x60]
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x61], bl
mov byte [rsp + 0x62], bl
mov byte [rsp + 0x63], bl
mov byte [rsp + 0x64], 0xd0
cmp edx, dword [rcx]
jne 0x140005ab5
mov dl, byte [rbp + 4]
cmp dl, byte [rcx + 4]
jne 0x140005ab5
mov eax, ebx
jmp 0x140005aba
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x140005ad6
mov dword [rdi + 0xc], ebx
mov r8d, esi
mov rdx, rbp
cmp dword [rdi + 8], ebx
mov rcx, rdi
je 0x140005b08
call fcn.140005920
jmp 0x140005b0d
mov edx, dword [rbp + 0xc]
lea rcx, [rsp + 0x60]
cmp edx, dword [rcx]
jne 0x140005aee
mov dl, byte [rbp + 0x10]
cmp dl, byte [rcx + 4]
jne 0x140005aee
mov eax, ebx
jmp 0x140005af3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x140005b0f
mov dword [rdi + 0xc], 1
lea r8d, [rsi - 0xc]
lea rdx, [rbp + 0xc]
jmp 0x140005ac7
call fcn.140005550
mov ebx, eax
mov rcx, rbp
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x140005d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x130
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x21]
xor ebx, ebx
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x20], bl
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov rdx, rdi
call fcn.140011854
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
cmp ecx, ebx
jle 0x140005d97
mov edx, ecx
lea rcx, [rsp + 0x20]
call fcn.140011c24
lea rdx, str.MicrosoftCredentials
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140010cc4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005dd0
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call fcn.140005b50
mov ebx, eax
lea r11, [rsp + 0x130]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400062cc
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret

Function at 0x14000630c
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x30
mov r10, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
lea r9d, [rax + 1]
repne scasb al, byte [rdi]
not rcx
and ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x30
pop rdi
ret

Function at 0x14000637c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
lea rax, [r11 + 0x20]
mov dword [r11 + 0x20], r9d
mov qword [r11 - 0x20], rax
lea r9, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x28], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400063b2
mov ecx, dword [rsp + 0x68]
add ecx, 0xffffffff
mov byte [rcx + rbx], al
add rsp, 0x40
pop rbx
ret

Function at 0x1400063cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
lea rax, [r11 + 0x20]
lea r9, [r11 - 0x18]
mov dword [rsp + 0x68], 4
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add rsp, 0x48
ret

Function at 0x14000643c
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
mov r11, rdx
test ecx, ecx
mov rbx, r9
mov r10, r8
mov rdx, r8
mov rcx, r11
je 0x140006467
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x140006487
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add rsp, 0x30
pop rbx
ret

Function at 0x1400066ac
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
sub rsp, 0x38
cmp dword [rsp + 0x60], 0
je 0x1400066d7
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1400066f4
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add rsp, 0x38
ret

Function at 0x14000670c
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x28
mov r11, rdx
mov eax, r9d
mov r9, qword [rsp + 0x58]
test ecx, ecx
mov r10, r8
mov rdx, r8
mov rcx, r11
je 0x140006737
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
call fcn.14000649c
jmp 0x140006747
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
add rsp, 0x28
ret
Function at 0x1400068dc
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x2040
call fcn.1400172d0
sub rsp, rax
mov rsi, rdx
xor edx, edx
mov rdi, r8
test ecx, ecx
mov rbx, r9
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
je 0x14000694e
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x2070]
mov byte [rsp + 0x30], 0
mov edx, dword [rcx]
test edx, edx
je 0x140006931
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140010c14
mov r9, qword [rsp + 0x2078]
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, eax
jmp 0x1400069bd
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x2078]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x30]
lea r8, [0x1400187ca]
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor esi, esi
lea rdi, [rsp + 0x30]
test eax, eax
setne sil
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
test ecx, ecx
je 0x1400069bd
mov rdx, qword [rsp + 0x2070]
mov r9d, ecx
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140011fa4
lea r11, [rsp + 0x2040]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140007960
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14001e7c4], 0
jne 0x140007a2e
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov rbx, rax
je 0x140007a2e
lea rdx, [0x1400193e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e250], rax
je 0x140007a2e
lea rdx, str.Module32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e240], rax
je 0x140007a2e
lea rdx, str.Module32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e238], rax
je 0x140007a2e
lea rdx, [0x140019428]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e118], rax
je 0x140007a2e
lea rdx, [0x140019438]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x14001e7c4]
mov edx, 1
test rax, rax
mov qword [0x14001e230], rax
cmovne ecx, edx
mov dword [0x14001e7c4], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140007b10
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x140007baa
lea rcx, str.psapi.dll
call fcn.140011e74
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.EnumProcessModulesEx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetModuleFileNameExA
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.EnumProcesses
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetModuleInformation
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140007ef0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14001e7c8], 0
jne 0x140007fd2
lea rcx, str.psapi.dll
call fcn.140011e74
test rax, rax
mov rbx, rax
je 0x140007fd2
lea rdx, str.GetModuleBaseNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e268], rax
je 0x140007fbf
lea rdx, str.EnumProcessModules
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e258], rax
je 0x140007fbf
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e248], rax
je 0x140007fbf
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14001e3a0], rax
je 0x140007fbf
lea rdx, str.GetModuleInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x14001e7c8]
mov edx, 1
test rax, rax
mov qword [0x14001e260], rax
cmovne ecx, edx
mov dword [0x14001e7c8], ecx
jmp 0x140007fc5
mov ecx, dword [0x14001e7c8]
test ecx, ecx
jne 0x140007fd2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
ret
Function at 0x140007fe0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
sub rsp, 0x3a0
mov rbp, rcx
mov rcx, qword [rcx + 0x50]
xor r12d, r12d
cmp rcx, r12
je 0x14000800d
call sub.msvcrt.dll_free
xor edx, edx
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x60], r12d
lea ecx, [rdx + 2]
mov dword [rbp + 0x58], r12d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rcx, [rsp + 0x164]
xor edx, edx
mov r8d, 0x12c
mov rsi, rax
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x160]
mov rcx, rsi
mov dword [rsp + 0x160], 0x130
call sub.KERNEL32.dll_Process32First
jmp 0x140008209
mov r8d, dword [rsp + 0x168]
mov eax, dword [rsp + 0x180]
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
jne 0x1400080fd
call fcn.1400114e4
cmp dword [rax + 4], 5
jbe 0x1400081b8
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, r12
mov rdi, rax
je 0x1400081b8
lea rcx, [rsp + 0x291]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x290], r12b
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x290]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0x20], 0x104
call fcn.140007bc0
mov r11b, byte [rsp + 0x290]
cmp r11b, r12b
je 0x14000814b
cmp r11b, 0x3f
jne 0x140008170
lea r9, [rsp + 0x3c8]
lea r8, [rsp + 0x290]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x3c8], 0x104
call fcn.140007780
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x34]
call fcn.140007d90
lea r11, [rsp + 0x158]
lea r9, [rsp + 0x150]
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0x140]
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.1400076d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rdi, dword [rbp + 0x60]
cmp edi, r12d
jl 0x140008209
mov eax, dword [rbp + 0x5c]
lea r8, [rbp + 0x58]
lea rcx, [rbp + 0x50]
mov r9d, 0x130
mov edx, edi
mov dword [rsp + 0x20], eax
call fcn.1400117a4
lea r11d, [rdi + 1]
cmp dword [rbp + 0x60], r11d
jge 0x1400081eb
mov dword [rbp + 0x60], r11d
mov rcx, rdi
lea rdx, [rsp + 0x30]
mov r8d, 0x130
imul rcx, rcx, 0x130
add rcx, qword [rbp + 0x50]
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x160]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
cmp eax, r12d
jne 0x14000805b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret