joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000abc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000abe2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000abf1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ac14
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ac16
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ac52
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000acee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000ac8d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000acce
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000acee
cmp rbx, rax
ja 0x14000aca0
test rbx, rbx
je 0x14000acee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
xlatb
call rbp
invalid
Function at 0x14000b150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b17d
xor eax, eax
jmp 0x14000b2e9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b1b7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000b1b7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000b2e9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b2dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b1fa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000b225
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b2e1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b294
sub eax, 1
je 0x14000b294
cmp eax, 2
jne 0x14000b2dc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b2e1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b2c2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000b2dc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b2e1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001ada0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d8a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000d973
cmp byte [rcx + 0x71], 0
je 0x14000d973
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000d96f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d934
sub eax, 1
je 0x14000d938
cmp eax, 2
jne 0x14000d96f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001ada0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000d966
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000d96f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000d91c
xor al, al
jmp 0x14000d91c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001ada0
add rsp, 0x60
pop rbx
ret

Function at 0x14001a7e8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001a822
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001a827
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001a870
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001e6d0]
cmp byte [rcx + rax], 0
je 0x14001a870
dec r8
sub rdx, 1
jne 0x14001a856
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001ba38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ba82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ba82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ba82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ba82
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ba82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001ba84
xor al, al
add rsp, 0x28
ret
Function at 0x1400054c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400055c1
mov qword [rsp + 0x50], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rax, [0x14028f110]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140025fb0
mov rsi, rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x14028f280]
lea rcx, [rsp + 0x20]
call fcn.1400042b0
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14003fa90
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140005589
cmp eax, ebx
je 0x140005597
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140005597
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x1400055a8
mov dl, 0x20
call fcn.14003fb10
nop
lea rcx, [rsp + 0x48]
call fcn.140037710
lea rax, [0x140168648]
mov qword [rdi], rax
jmp 0x1400056e7
xor eax, eax
mov qword [rbp - 0x80], rax
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004300
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140004250
nop
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140033b30
mov rdx, qword [rbp - 0x80]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rax]
mov qword [rbp - 0x80], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14000562d
cmp eax, ebx
je 0x14000563c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000563c
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14000565c
cmp eax, 0xffffffff
je 0x14000566a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000566a
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov r8d, ebx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140004300
nop
mov r8d, 2
mov rdx, rdi
mov rcx, rax
call fcn.140031d70
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400056ae
cmp eax, 0xffffffff
je 0x1400056bd
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400056bd
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400056d9
cmp eax, 0xffffffff
je 0x1400056e7
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1400056e7
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140103500
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140005720
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x140005818
mov qword [rsp + 0x40], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rax, [0x14028f110]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140025fb0
mov rbx, rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x14028f2b0]
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.14003fa90
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400057e0
cmp eax, edi
je 0x1400057ee
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400057ee
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x1400057ff
mov dl, 0x20
call fcn.14003fb10
nop
lea rcx, [rsp + 0x38]
call fcn.140037710
lea rax, [0x140168648]
mov qword [rsi], rax
jmp 0x140005900
xor eax, eax
mov qword [rsp + 0x68], rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.140004300
nop
mov rax, qword [rsp + 0x68]
cmp dword [rax], 1
ja 0x140005846
cmp qword [rax + 0x10], 0x18
je 0x14000585d
mov edx, dword [rax + 4]
inc edx
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.1400336f0
mov rax, qword [rsp + 0x68]
movsxd r8, dword [rax + 4]
mov rdx, qword [rax + 0x10]
lea rbx, [rdx + r8*2]
add rbx, rax
cmp dword [rax], 1
ja 0x140005877
cmp rdx, 0x18
je 0x14000588d
lea edx, [r8 + 1]
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.1400336f0
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x10]
add rdx, rax
cmp rdx, rbx
je 0x1400058c3
nop dword [rax]
sub rbx, 2
cmp rdx, rbx
je 0x1400058c3
movzx eax, word [rdx]
mov word [rsp + 0x20], ax
movzx ecx, word [rbx]
mov word [rdx], cx
mov word [rbx], ax
add rdx, 2
cmp rdx, rbx
jne 0x1400058a0
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140004300
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400058f2
cmp eax, 0xffffffff
je 0x140005900
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140005900
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rax, rsi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140103500
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140005930
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push rbp
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.140103fd0
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10f0], rbx
mov qword [rsp + 0x10f8], rdi
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov dword [rsp + 0x20], 0x360033
mov dword [rsp + 0x24], 0x740030
mov dword [rsp + 0x28], 0x610072
mov dword [rsp + 0x2c], 0x2e0079
mov dword [rsp + 0x30], 0x780065
mov dword [rsp + 0x34], reloc.WS2_32.dll_WSAAsyncSelect
xor edi, edi
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 8]
lea rdx, [0x14028f348]
lea rcx, [rsp + 0x68]
call fcn.1400080e0
nop
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
lea r8d, [rdi + 0x53]
lea rdx, [0x14028f360]
lea rcx, [rsp + 0x48]
call fcn.1400080e0
nop
call fcn.1400098a0
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.14000c930
mov ebx, eax
test eax, eax
je 0x140005b2c
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140005b2c
mov edx, dword [rsp + 0x40]
shr edx, 2
mov dword [rsp + 0x40], edx
mov eax, edi
test edx, edx
je 0x140005b2c
mov ecx, eax
cmp dword [rbp + rcx*4 - 0x30], ebx
je 0x140005a59
inc eax
cmp eax, edx
jae 0x140005b2c
jmp 0x140005a45
call fcn.140009bf0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140009250
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140009250
nop
mov r9d, 0xa
xor r8d, r8d
lea rdx, [0x14028f300]
lea rcx, [rbp - 0x58]
call fcn.140007fc0
cmp rax, 0xffffffffffffffff
je 0x140005ab1
mov r8d, 0x16
lea rdx, [0x14028f318]
lea rcx, [rbp - 0x78]
call fcn.1400080e0
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x140005af9
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140008780
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x140005a00
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.140008780
jmp 0x140005a00
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140005b49
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140008780
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140005b78
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140008780
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.140103500
lea r11, [rsp + 0x10e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000c930
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c9c3
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000c9ba
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000c9a4
add rax, 2
test ecx, ecx
jne 0x14000c990
mov rcx, rbx
test edx, edx
je 0x14000c9e6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000c980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140103500
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14000c9c5

Function at 0x140017f30
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x20], 0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140010a0c
and dword [rsi], 0
mov qword [rsp + 0x28], rax
call fcn.140010a0c
lea r8, [rsp + 0x20]
mov qword [rsi + 8], rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140017618
cmp dword [rsp + 0x60], 3
jne 0x140017f80
xor al, al
jmp 0x140017fe6
cmp qword [rdi + 0x10], 0
je 0x140017fcd
cmp qword [rbx + 0x18], 8
jb 0x140017f91
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140017f9b
mov rdi, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x140017fe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.140010a0c
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsi], xmm0
jmp 0x140017f7c
cmp qword [rbx + 0x18], 8
jb 0x140017fd7
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x140017faa
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140018628
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
and dword [rdx], 0
mov rbx, rdx
mov rdi, rcx
call fcn.140010a0c
mov qword [rbx + 8], rax
cmp qword [rdi + 0x18], 8
jb 0x14001865b
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14001867d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x14001869b
xor al, al
jmp 0x1400186f9
test sil, 1
je 0x1400186b9
mov edx, esi
mov rcx, rdi
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400186b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400186a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x10], eax
call fcn.140010a0c
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movdqu xmmword [rbx], xmm0
cmp dword [rbx], 0
jne 0x1400186f6
mov rcx, rdi
test sil, 0x10
je 0x1400186cf
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400186d5
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400186f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x10], eax
call fcn.140010a0c
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movdqu xmmword [rbx], xmm0
cmp dword [rbx], 0
sete al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret

Function at 0x140019af8
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp qword [rcx + 0x10], rbx
jne 0x140019b0a
xor al, al
jmp 0x140019b1f
cmp qword [rcx + 0x18], 8
jb 0x140019b14
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret
Function at 0x14001adfc
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
and dword [r8], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140010a0c
mov qword [rdi + 8], rax
test rsi, rsi
jns 0x14001ae46
mov dword [rsp + 0x40], 0xdf
call fcn.140010a0c
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
jmp 0x14001aed5
cmp qword [rbx + 0x18], 8
jb 0x14001ae50
mov rbx, qword [rbx]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14001ae8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
jmp 0x14001ae2e
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001aeaf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001aecc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
call fcn.140010a0c
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140025a50
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov r9, r8
mov r8, rdx
mov edx, ecx
lea rcx, [rsp + 0x20]
call fcn.140026be0
nop
lea rax, [0x140168648]
or edi, 0xffffffff
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x140025b39
call fcn.140027700
lea rcx, [rsp + 0x20]
test al, al
jne 0x140025ac4
mov eax, 0xa
mov word [rsp + 0x68], ax
movzx edx, ax
call fcn.14002ec90
lea rcx, [rsp + 0x20]
call fcn.1400360e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140025b34
lea rdx, [rsp + 0x28]
call fcn.140023370
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov ecx, 2
call fcn.140108fb4
mov rcx, rax
mov r8, rbx
lea rdx, [0x14013a30c]
call fcn.140028d20
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140025b14
cmp eax, 0xffffffff
je 0x140025b22
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140025b22
mov rcx, qword [rsp + 0x28]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400397e0
mov ecx, 2
call fcn.140108fb4
mov rcx, rax
call fcn.140109458
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140025b52
cmp eax, 0xffffffff
je 0x140025b60
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140025b60
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret