joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002484
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx], 0
mov rbx, rcx
je 0x14000249d
mov eax, 1
jmp 0x140002538
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [rbx], rax
je 0x140002536
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 0x140002493
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140002544
Capabilities:
Check os version

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

Function at 0x1400025b4
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.140002544
xor edi, edi
cmp eax, edi
je 0x1400026ca
mov rcx, rbx
call fcn.140002484
mov rbx, qword [rbx + 8]
cmp rbx, rdi
jne 0x1400025f3
xor eax, eax
jmp 0x140002702
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 0x140002702
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 0x140002c28
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rcx
mov rcx, qword [rcx]
cmp rcx, rbp
mov rsi, rdx
mov ebx, ebp
je 0x140002c56
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi], rbp
xor edx, edx
mov rcx, rsi
call fcn.1400131dc
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140002cba
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [rdi + 8], ecx
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r8d, dword [rdi + 8]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, rsi
mov qword [rdi], rax
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebp
mov ebx, eax
je 0x140002cb1
mov rcx, qword [rdi]
cmp dword [rcx], 0x66676572
cmovne ebx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400031f0
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_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140003230
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x30
mov r10, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
mov r9d, 1
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rdi
ret

Function at 0x1400032b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea eax, [r9 + r9]
mov rbx, r8
lea r9, [r11 - 0x18]
mov dword [rsp + 0x68], eax
lea rax, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400032f8
cmp dword [rsp + 0x68], 2
jb 0x1400032f4
mov ecx, dword [rsp + 0x68]
shr rcx, 1
and word [rbx + rcx*2], ax
jmp 0x1400032f8
and word [rbx], 0
add rsp, 0x40
pop rbx
ret

Function at 0x140003310
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_RegQueryValueExW]
add rsp, 0x48
ret
Function at 0x1400037f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
sub rsp, 0x38
cmp dword [rsp + 0x60], 0
je 0x14000381b
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140003838
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_RegQueryValueExW]
add rsp, 0x38
ret

Function at 0x140003850
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 0x14000387b
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
call fcn.140003380
jmp 0x14000388b
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
add rsp, 0x28
ret

Function at 0x1400038a0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rsi
push rdi
mov eax, 0x20030
call fcn.14001d460
sub rsp, rax
test ecx, ecx
mov r10, r9
mov rdi, r8
mov rsi, rdx
je 0x14000392a
cmp qword [rsp + 0x20060], 0
je 0x14000390c
mov rcx, qword [rsp + 0x20060]
mov dx, 0x22
call sub.msvcrt.dll_wcschr
test rax, rax
je 0x14000390c
mov r9, qword [rsp + 0x20060]
and word [rsp + 0x30], 0
lea r8, str.__s_
lea rcx, [rsp + 0x30]
mov edx, 0xfffe
call sub.msvcrt.dll__snwprintf
lea r8, [rsp + 0x30]
jmp 0x140003914
mov r8, qword [rsp + 0x20060]
mov r9, qword [rsp + 0x20070]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x140003959
mov rax, qword [rsp + 0x20070]
mov r9, qword [rsp + 0x20060]
mov r8, r10
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20068]
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rsi, qword [rsp + 0x20040]
add rsp, 0x20030
pop rdi
ret
Function at 0x140003b30
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x4040
call fcn.14001d460
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 + 0x32]
je 0x140003ba3
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x4070]
and word [rsp + 0x30], 0
mov edx, dword [rcx]
test edx, edx
je 0x140003b86
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140011e5c
mov r9, qword [rsp + 0x4078]
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
jmp 0x140003c14
and word [rsp + 0x30], 0
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x4078]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x30]
lea r8, [0x14001e8e8]
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
lea rdi, [rsp + 0x30]
test eax, eax
setne sil
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
je 0x140003c14
mov rdx, qword [rsp + 0x4070]
mov r9d, ecx
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400136ec
lea r11, [rsp + 0x4040]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140005060
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140026564], 0
jne 0x14000512e
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
mov rbx, rax
je 0x14000512e
lea rdx, [0x140020488]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025bb0], rax
je 0x14000512e
lea rdx, str.Module32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025ba0], rax
je 0x14000512e
lea rdx, str.Module32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025b98], rax
je 0x14000512e
lea rdx, str.Process32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025970], rax
je 0x14000512e
lea rdx, str.Process32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x140026564]
mov edx, 1
test rax, rax
mov qword [0x140025978], rax
cmovne ecx, edx
mov dword [0x140026564], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140005460
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x1400054fa
lea rcx, str.psapi.dll
call fcn.14001336c
lea rdx, str.GetModuleBaseNameW
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.GetModuleFileNameExW
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 0x140005570
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x6c0
mov rbp, rcx
mov rcx, qword [rcx + 0x50]
xor r12d, r12d
cmp rcx, r12
je 0x140005599
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 + 0x274]
xor edx, edx
mov r8d, 0x234
mov rsi, rax
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x270]
mov rcx, rsi
mov dword [rsp + 0x270], 0x238
call sub.KERNEL32.dll_Process32FirstW
jmp 0x140005757
mov r8d, dword [rsp + 0x278]
mov eax, dword [rsp + 0x290]
xor edx, edx
mov ecx, 0x410
mov word [rsp + 0x34], r12w
mov dword [rsp + 0x244], r12d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x240], eax
mov dword [rsp + 0x248], r12d
mov dword [rsp + 0x24c], r12d
mov dword [rsp + 0x250], r12d
mov dword [rsp + 0x254], r12d
mov dword [rsp + 0x258], r12d
mov dword [rsp + 0x25c], r12d
mov dword [rsp + 0x260], r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, r12
mov rbx, rax
jne 0x14000568a
call fcn.14001285c
cmp dword [rax + 4], 5
jbe 0x140005749
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, r12
mov rbx, rax
je 0x140005749
lea rcx, [rsp + 0x4b2]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x4b0], r12w
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x4b0]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
mov dword [rsp + 0x20], 0x104
call fcn.140005510
movzx r11d, word [rsp + 0x4b0]
cmp r11w, r12w
je 0x1400056dc
cmp r11w, 0x3f
jne 0x140005701
lea r9, [rsp + 0x6e0]
lea r8, [rsp + 0x4b0]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x6e0], 0x104
call fcn.140004f40
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x34]
call fcn.1400052e0
lea r11, [rsp + 0x25c]
lea r9, [rsp + 0x254]
lea r8, [rsp + 0x24c]
lea rdx, [rsp + 0x244]
mov rcx, rbx
mov qword [rsp + 0x20], r11
call fcn.140004e90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140001008
lea rdx, [rsp + 0x270]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
cmp eax, r12d
jne 0x1400055e7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140005ac0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140026568], 0
jne 0x140005ba2
lea rcx, str.psapi.dll
call fcn.14001336c
test rax, rax
mov rbx, rax
je 0x140005ba2
lea rdx, str.GetModuleBaseNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025bc8], rax
je 0x140005b8f
lea rdx, str.EnumProcessModules
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025bb8], rax
je 0x140005b8f
lea rdx, str.GetModuleFileNameExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025ba8], rax
je 0x140005b8f
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140025df8], rax
je 0x140005b8f
lea rdx, str.GetModuleInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x140026568]
mov edx, 1
test rax, rax
mov qword [0x140025bc0], rax
cmovne ecx, edx
mov dword [0x140026568], ecx
jmp 0x140005b95
mov ecx, dword [0x140026568]
test ecx, ecx
jne 0x140005ba2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
ret

Function at 0x140008a34
Capabilities:
Delete file
Open clipboard

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rcx
call fcn.1400068d4
test eax, eax
je 0x140008a59
lea rcx, [rbx + 0x700]
xor edx, edx
call fcn.1400143e8
jmp 0x140008ad3
lea rdx, [0x140020094]
lea rcx, [rsp + 0x30]
call fcn.140012b6c
mov rdx, qword [rbx + 0x6e0]
mov eax, 1
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
lea r9d, [rax + 1]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140008154
test eax, eax
je 0x140008ad3
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140008ab0
lea rcx, [rsp + 0x30]
call fcn.140013fec
jmp 0x140008ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140008ac8
mov rcx, qword [rbx + 0x210]
mov edx, eax
call fcn.1400140dc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rsp, 0x240
pop rbx
ret
Function at 0x14000addc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.14001d460
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x41]
lea rcx, [rsp + 0x41]
xor edx, edx
mov byte [rsp + 0x40], 0
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x1fff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x2060]
and qword [rsp + 0x20], rax
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret

Function at 0x14000ae8c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x8040
call fcn.14001d460
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x41]
lea rcx, [rsp + 0x41]
xor edx, edx
mov byte [rsp + 0x40], 0
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x7fff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x8060]
and qword [rsp + 0x20], rax
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x8050]
add rsp, 0x8040
pop rdi
ret
Function at 0x14000df3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r12d, r8d
mov rbp, rdx
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r13 + 0x310]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov r14d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
test eax, eax
mov rsi, rax
jle 0x14000dffc
test r12d, r12d
je 0x14000dfb2
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
cmp edi, edx
jne 0x14000dfb2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, 0x1f4
ja 0x14000dffc
mov eax, dword [rbp + 0x18]
lea ebx, [rdi + rax]
cmp ebx, esi
jl 0x14000dfc4
test byte [rbp + 0x20], 0x20
je 0x14000dffc
sub ebx, esi
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov r8d, ebx
mov rcx, r13
call fcn.14000d67c
test eax, eax
je 0x14000dff5
mov rdx, qword [rsp + 0x50]
mov r9d, r12d
mov r8, rbp
mov rcx, r13
call fcn.14000b7ec
test eax, eax
jne 0x14000e016
add edi, 1
cmp edi, esi
jl 0x14000df85
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, ebx
jmp 0x14000dfff
Function at 0x14000ef0c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2040
call fcn.14001d460
sub rsp, rax
and word [rsp + 0x30], 0
mov ebx, r8d
mov rdi, rcx
mov rsi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x32]
xor edx, edx
call sub.msvcrt.dll_memset
lea rbp, [0x140025f40]
lea r9, [rsp + 0x30]
lea r8, [0x14001e8e8]
lea rcx, [0x140026150]
mov rdx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x30], 0
je 0x14000ef88
test ebx, ebx
jne 0x14000ef88
xor eax, eax
jmp 0x14000ef9e
lea rcx, [0x140026150]
mov r9, rbp
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000efcc
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.14001d460
sub rsp, rax
and word [rsp + 0x30], 0
mov rbx, rcx
mov rdi, rdx
lea rcx, [rsp + 0x32]
lea r8d, [rax - 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea r11, [0x140025f40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r8, [0x14001e8e8]
lea rcx, [0x140026150]
mov rdx, rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x30], 0
je 0x14000f057
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30]
sub rdi, rax
movzx eax, word [rcx]
mov word [rdi + rcx], ax
add rcx, 2
test ax, ax
jne 0x14000f040
mov eax, 1
jmp 0x14000f059
xor eax, eax
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret

Function at 0x14000f07c
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
and word [rdx], 0
lea rax, [0x140025f40]
mov rbx, rdx
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x14001e8e8]
lea rcx, [0x140026150]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
lea r9, [0x140025f40]
mov rdx, r9
sub rdx, rcx
xor ebx, ebx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, bx
jne 0x14000f481
mov rdx, rbx
lea rcx, [0x140026150]
lea rax, str.general
movzx eax, word [rdx + rax]
mov word [rdx + rcx], ax
add rdx, 2
cmp ax, bx
jne 0x14000f49b
lea rdx, [0x14001f4e0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x1400261e0]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x140025e04], ebx
mov ebx, 0x3f
mov r8d, ebx
call 0x14000f07c
lea rdx, [0x140026260]
lea rcx, str.TranslatorName
mov r8d, ebx
call 0x14000f07c
lea rdx, [0x1400262e0]
lea rcx, str.TranslatorURL
mov r8d, 0xff
add rsp, 0x20
pop rbx
jmp 0x14000f07c
Function at 0x14000f46c
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
and word [rdx], 0
lea rax, [0x140025f40]
mov rbx, rdx
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x14001e8e8]
lea rcx, [0x140026150]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
push rbx
sub rsp, 0x20
lea r9, [0x140025f40]
mov rdx, r9
sub rdx, rcx
xor ebx, ebx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, bx
jne 0x14000f481
mov rdx, rbx
lea rcx, [0x140026150]
lea rax, str.general
movzx eax, word [rdx + rax]
mov word [rdx + rcx], ax
add rdx, 2
cmp ax, bx
jne 0x14000f49b
lea rdx, [0x14001f4e0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x1400261e0]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x140025e04], ebx
mov ebx, 0x3f
mov r8d, ebx
call 0x14000f07c
lea rdx, [0x140026260]
lea rcx, str.TranslatorName
mov r8d, ebx
call 0x14000f07c
lea rdx, [0x1400262e0]
lea rcx, str.TranslatorURL
mov r8d, 0xff
add rsp, 0x20
pop rbx
jmp 0x14000f07c

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

Disassembly:
sub rsp, 0x238
and word [rsp + 0x20], 0
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14000fabc
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000fb5f
lea rcx, [rsp + 0x20]
call fcn.14000f46c
add rsp, 0x238
ret

Function at 0x140011370
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0xffffffffffffffff
mov rbx, rcx
jne 0x1400113b8
add rcx, 8
call fcn.1400128dc
lea rdx, [rbx + 0x298]
lea rcx, [rbx + 8]
mov qword [rbx + 0x290], rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
cmp rax, 0xffffffffffffffff
mov qword [rbx], rax
setne sil
jmp 0x1400113d6
lea rdx, [rcx + 0x298]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov esi, eax
jne 0x1400113da
mov rcx, rbx
call fcn.140010cd0
test esi, esi
je 0x14001142b
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbx + 0x770]
repne scasw ax, word [rdi]
lea rdx, [rbx + 0x2c4]
lea r8, [rbx + 0x4e8]
not rcx
mov rdi, rdx
lea r9, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
lea rax, [r9 + rcx]
cmp rax, 0x143
jae 0x140011426
lea rcx, [rbx + 0x770]
call fcn.140013c5c
jmp 0x14001142b
and word [r8], 0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140011a8c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rdi, rdx
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll_memset
lea rax, str.RunAs
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret