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

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x48
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov r14, r8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor ebx, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140002eb5
mov ecx, dword [rsp + 0x34]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140002e1e
cmp ecx, 7
jne 0x140002eb5
mov ecx, dword [rsp + 0x30]
inc ecx
mov qword [rsp + 0x40], rdi
call fcn.14002bcc0
mov rdi, rax
test rax, rax
jne 0x140002e52
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e30a0
add rsp, 0x48
pop r14
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
mov byte [rax + rdi], bl
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete sil
test sil, sil
je 0x140002ea7
cmp byte [rdi], bl
je 0x140002e99
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140002e90
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140002540
mov rcx, rdi
call fcn.14002bcb8
movzx eax, sil
jmp 0x140002e36
xor al, al
jmp 0x140002e3b

Function at 0x140002ec0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
lea rdi, [rcx + 0x10]
mov qword [r11 - 0x20], rsi
lea rax, [r11 - 0x18]
mov qword [r11 - 0x28], rsi
mov rbx, rcx
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [r11 - 0x30], rsi
xor r8d, r8d
mov qword [r11 - 0x38], rdi
xor edx, edx
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rsi
mov qword [r11 - 0x50], rsi
mov qword [r11 - 0x58], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
inc dword [rdi]
test eax, eax
je 0x140002f36
mov rcx, qword [rbx + 8]
mov dword [rdi], esi
call fcn.14002bcb8
xor al, al
mov qword [rbx + 8], rsi
jmp 0x140002f43
mov ecx, dword [rdi]
call fcn.14002bcc0
mov qword [rbx + 8], rax
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002f70
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 0x10]
lea r9, [rsp + 0x40]
xor ebx, ebx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rbx
mov rdi, r8
mov r8, qword [rcx + 8]
mov rsi, rcx
mov rcx, qword [rcx]
mov r14, rdx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, eax
test eax, eax
jne 0x140003046
mov ecx, dword [rsi + 0x10]
cmp dword [rsp + 0x40], ecx
jb 0x140003023
mov rcx, qword [rsi + 8]
call fcn.14002bcb8
mov eax, dword [rsp + 0x40]
inc eax
mov ecx, eax
mov dword [rsi + 0x10], eax
call fcn.14002bcc0
mov ecx, dword [rsi + 0x10]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
mov r8, rax
mov dword [rsp + 0x40], ecx
mov edx, r14d
mov rcx, qword [rsi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsi + 8], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, eax
test eax, eax
jne 0x140003046
mov rdx, qword [rsi + 8]
cmp byte [rdx], bl
je 0x140003039
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003030
mov r8, rbx
mov rcx, rdi
call fcn.140002540
jmp 0x140003056
cmp qword [rdi + 0x18], 0x10
mov qword [rdi + 0x10], rbx
jb 0x140003054
mov rdi, qword [rdi]
mov byte [rdi], bl
test ebp, ebp
sete al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e30a0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400041c0
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, rcx
xor esi, esi
mov qword [rcx], rsi
lea ecx, [rsi + 0x40]
call fcn.14002bc64
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000422b
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
mov rcx, rbx
call fcn.14001bb70
mov rsi, rax
mov qword [rdi], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140005650
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400056bf
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400056c6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000582f
xor r14d, r14d
nop dword [rax]
lea rdx, [rbp - 0x14]
lea rcx, [rbp - 0x68]
call fcn.1400073b0
nop
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400073b0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rsp + 0x38]
call fcn.140005980
mov rbx, rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140005980
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400208f0
movzx ebx, al
mov rcx, qword [rbp - 0x70]
cmp rcx, 0x10
jb 0x140005789
inc rcx
mov rdx, qword [rsp + 0x78]
cmp rcx, 0x1000
jb 0x140005781
test dl, 0x1f
jne 0x140005808
mov rax, qword [rdx - 8]
cmp rax, rdx
jae 0x140005802
sub rdx, rax
cmp rdx, 8
jb 0x1400057fc
cmp rdx, 0x27
ja 0x1400057f6
mov rdx, rax
mov rcx, rdx
call fcn.14002bcb8
mov qword [rbp - 0x70], SafeArrayGetDim
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x1400057d8
mov rcx, qword [rbp - 0x68]
inc rax
cmp rax, 0x1000
jb 0x1400057d3
test cl, 0x1f
jne 0x140005820
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000581a
sub rcx, rax
cmp rcx, 8
jb 0x140005814
cmp rcx, 0x27
ja 0x14000580e
mov rcx, rax
call fcn.14002bcb8
mov rcx, rdi
test bl, bl
jne 0x140005826
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400056b6
jmp 0x1400056d0
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
nop
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x38]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005860
Capabilities:
Enumerate process modules

Disassembly:
push r14
mov eax, 0x1040
call fcn.1401e3b10
sub rsp, rax
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov r14d, edx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x1000
call fcn.1401e7f40
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1400058b8
or rax, 0xffffffffffffffff
jmp 0x140005952
mov qword [rsp + 0x1050], rbx
xor ebx, ebx
mov qword [rsp + 0x1058], rbp
mov ebp, dword [rsp + 0x20]
shr ebp, 2
mov qword [rsp + 0x1060], rsi
mov qword [rsp + 0x1068], rdi
test ebp, ebp
je 0x14000592e
lea rdi, [rsp + 0x30]
nop word [rax + rax]
mov r8d, dword [rdi]
test r8d, r8d
je 0x140005924
xor edx, edx
mov ecx, 0x100410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000591b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, r14d
je 0x14000596c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x1400058f0
or rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x1060]
mov rbp, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1068]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401e30a0
add rsp, 0x1040
pop r14
ret
mov rax, rsi
jmp 0x140005932
Function at 0x140005c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r10, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x38]
mov eax, dword [rdx + 8]
test eax, eax
jne 0x140005d61
xor ebx, ebx
mov dword [rbp - 0x38], ebx
add rdx, 0x110
mov dword [rbp - 0x10], 4
lea rax, [rbp - 0x10]
mov qword [r11 - 0x60], rax
lea rax, [rbp - 0x38]
mov qword [r11 - 0x68], rax
lea r9, [rbp - 0xc]
xor r8d, r8d
mov rcx, qword [r10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140005e46
cmp dword [rbp - 0xc], 4
jne 0x140005e46
mov rdx, qword [rsi + 0x38]
add rdx, 0x214
mov qword [rbp - 0x18], SafeArrayGetDim
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
cmp byte [rdx], bl
je 0x140005cd9
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140005cd0
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.140002540
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call fcn.1401ef80c
cmp dword [rbp - 0x38], eax
sete bl
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x140005d54
inc rax
mov rcx, qword [rbp - 0x30]
cmp rax, 0x1000
jb 0x140005d4f
test cl, 0x1f
je 0x140005d22
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140005d31
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x140005d40
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x140005d4c
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
test bl, bl
je 0x140005e46
jmp 0x140005e63
cmp eax, 1
jne 0x140005e4a
mov qword [rbp - 0x18], SafeArrayGetDim
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
add rdx, 0x110
lea r8, [rbp - 0x30]
mov rcx, qword [r10]
call fcn.140002dc0
mov r14, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x30]
test al, al
je 0x140005df3
mov rdx, qword [rsi + 0x38]
add rdx, 0x214
cmp byte [rdx], bl
je 0x140005db9
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140005db0
lea rcx, [rbp - 0x30]
cmp r14, 0x10
cmovae rcx, rdi
mov r8, rbx
mov rsi, qword [rbp - 0x20]
cmp rsi, rbx
cmovb r8, rsi
test r8, r8
je 0x140005de1
call fcn.1401e8c80
test eax, eax
jne 0x140005df3
cmp rsi, rbx
jb 0x140005df3
ja 0x140005df3
lea rcx, [rbp - 0x30]
call fcn.1400023f0
jmp 0x140005e63
cmp r14, 0x10
jb 0x140005e46
lea rax, [r14 + 1]
cmp rax, 0x1000
jb 0x140005e3e
test byte [rbp - 0x30], 0x1f
je 0x140005e11
call fcn.1401e9ae4
int3
mov rax, qword [rdi - 8]
cmp rax, rdi
jb 0x140005e20
call fcn.1401e9ae4
int3
sub rdi, rax
cmp rdi, 8
jae 0x140005e2f
call fcn.1401e9ae4
int3
cmp rdi, 0x27
jbe 0x140005e3b
call fcn.1401e9ae4
int3
mov rdi, rax
mov rcx, rdi
call fcn.14002bcb8
xor al, al
jmp 0x140005e65
xor r9d, r9d
lea r8, str.RegPathFinish
lea rdx, str.Invalid_FinishRegistryValueType.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140006720
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
cmp qword [rdx + 0x10], 0
jne 0x140006773
cmp qword [r8 + 0x10], 0
je 0x1400068fa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
xor r14d, r14d
nop dword [rax]
mov r8d, 0x80
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameA]
cmp qword [rdi + 0x10], r14
je 0x1400067c8
mov rcx, rdi
call fcn.1400023e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140006877
mov qword [rsp + 0x38], SafeArrayGetDim
mov qword [rsp + 0x30], r14
mov byte [rsp + 0x20], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140002670
mov ebp, r14d
cmp qword [rsp + 0x30], rbp
seta bpl
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14000683f
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14000683a
test cl, 0x1f
jne 0x1400068a4
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000689e
sub rcx, rax
cmp rcx, 8
jb 0x140006898
cmp rcx, 0x27
ja 0x140006892
mov rcx, rax
call fcn.14002bcb8
test ebp, ebp
je 0x1400068aa
mov r8d, 0x80
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, rsi
call fcn.1400023e0
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1401e7b5c
test rax, rax
jne 0x1400068aa
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
test rax, rax
je 0x1400068fa
jmp 0x140006790
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
call fcn.1401e9ae4
int3
test rbx, rbx
je 0x1400068fa
mov dword [rsp + 0x48], r14d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x1400068fa
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400068fa
mov rcx, rdi
call fcn.1400023f0
nop
mov rcx, rsi
call fcn.1400023f0
mov rax, rbx
jmp 0x14000690d
mov rcx, rdi
call fcn.1400023f0
nop
mov rcx, rsi
call fcn.1400023f0
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140006940
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
add rcx, 0x334
call qword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov edi, eax
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x38]
sub eax, dword [rbx + 0xc]
imul edx, dword [rcx + 0x438], 0x3e8
cmp eax, edx
jae 0x1400069da
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 0xffffffff
jne 0x1400069c7
lea r9d, [rax + 0x31]
xor ecx, ecx
lea r8, str.MessageFinish
lea rdx, str.GetMessage_error
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140006970
cmp dword [rsp + 0x38], edi
je 0x1400069da
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140006970
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e30a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400074e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
mov edi, 0x200
mov eax, 2
mul rdi
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.14002bcc0
mov r8, rsi
mov qword [rbx], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add eax, 2
cmp eax, edi
jb 0x140007583
mov qword [rsp + 0x30], rbp
xor ebp, ebp
nop word [rax + rax]
mov rcx, qword [rbx]
mov edx, 2
add edi, edi
call fcn.1400043a0
mov eax, 2
mov qword [rbx], rbp
mul rdi
cmovo rax, r14
mov rcx, rax
call fcn.14002bcc0
mov r8, rsi
mov qword [rbx], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add eax, 2
cmp edi, eax
jbe 0x140007540
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbx]
mov rsi, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov qword [rbx + 8], rcx
lea rcx, [rcx + rax*2]
mov al, 1
mov qword [rbx + 0x10], rcx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400077b0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov r12, qword [rbp + 0x7f]
lea rcx, [rbp - 9]
call fcn.1400072b0
nop
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.1400072b0
nop
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1400072b0
nop
or rsi, 0xffffffffffffffff
cmp qword [rdi + 0x18], 8
jb 0x140007822
mov rax, qword [rdi]
jmp 0x140007825
mov rax, rdi
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r8, qword [rbp - 0x49]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
test r15, r15
je 0x140007876
test r14, r14
mov eax, 1
jne 0x14000787b
mov eax, 2
mov rbx, qword [rdi + 0x28]
add rax, rcx
cmp rax, rbx
jb 0x1400078b4
add rbx, rbx
mov qword [rdi + 0x28], rbx
mov rcx, qword [rdi + 0x20]
call fcn.14002bcb8
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.14002bcc0
mov qword [rdi + 0x20], rax
jmp 0x140007816
mov qword [rbp - 0x51], 7
xor ebx, ebx
mov qword [rbp - 0x59], rbx
mov word [rbp - 0x69], bx
mov rdx, qword [rdi + 0x20]
cmp word [rdx], bx
jne 0x1400078d3
mov esi, ebx
jmp 0x1400078dd
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1400078d3
mov r8, rsi
lea rcx, [rbp - 0x69]
call fcn.140003650
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rdx, qword [rbp - 0x69]
lea rcx, [rsp + 0x38]
call fcn.1400073b0
mov rdx, rax
mov rcx, r12
call fcn.140007040
mov rax, qword [rbp - 0x71]
cmp rax, 0x10
jb 0x140007964
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x14000795e
test cl, 0x1f
je 0x140007931
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140007940
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000794f
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x14000795b
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
nop
mov r8, qword [rbp - 0x51]
cmp r8, 8
jb 0x14000797e
inc r8
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.1400037a0
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], rbx
mov word [rbp - 0x69], bx
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x1400079a8
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400037a0
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rbx
mov word [rbp - 0x49], bx
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x1400079d2
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.1400037a0
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rbx
mov word [rbp - 0x29], bx
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x1400079fc
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400037a0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e30a0
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140007a20
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x78
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov esi, r9d
mov rbx, r8
mov rdi, rcx
mov r14, qword [rsp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.1400072b0
nop
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400072b0
cmp qword [rdi + 0x18], 8
jb 0x140007a75
mov rdi, qword [rdi]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r9, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r14], eax
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140007ac3
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400037a0
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140007af5
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400037a0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401e30a0
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140008bb0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 8
jb 0x140008c04
mov rax, qword [rcx]
jmp 0x140008c07
mov rax, rdi
mov word [rax], bx
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x40], 0x238
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0x38]
mov rcx, qword [0x1402e89b8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rax, qword [0x1402e8e18]
test rax, rax
je 0x140008c48
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rsi, rax
jmp 0x140008c4b
mov rsi, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140008caa
nop dword [rax]
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x48], eax
je 0x140008c7e
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008c60
jmp 0x140008caa
cmp word [rsp + 0x6c], 0
je 0x140008c9a
lea rax, [rsp + 0x6c]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140008c90
mov r8, rbx
lea rdx, [rsp + 0x6c]
mov rcx, rdi
call fcn.140003650
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret