joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4e40
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400c4e5c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c4eb0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c4fd5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400c4fd5
test rax, rax
je 0x1400c4fd5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400c4fd5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400c4f4a
lea rax, [0x1400c5030]
jmp 0x1400c4fa3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400c4fd5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c4fc3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400c4f70
lea rax, [0x1400c5000]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400c4fea
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400c5d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400c5d3b
xor eax, eax
ret
lea r11, [0x1400ea470]
not ecx
cmp r8d, 8
jb 0x1400c5e11
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400c5d60
test r8d, r8d
je 0x1400c5e3d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400c5e20
not ecx
mov eax, ecx
ret
Function at 0x1400ca9c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400caa0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400caa0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400caa0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400caa0a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400caa0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400caa0c
xor al, al
add rsp, 0x28
ret

Function at 0x1400cac00
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 0x1400cac3a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400cac3f
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 0x1400cac88
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400eac50]
cmp byte [rcx + rax], 0
je 0x1400cac88
dec r8
sub rdx, 1
jne 0x1400cac6e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400caca0
mov ebx, eax
test eax, eax
jne 0x1400cb38c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400cb3ef
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400cb3e6
test al, 0x10
je 0x1400cb3e6
bt eax, 0xa
jae 0x1400cb3df
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400cb400
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400cb3db
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400cb3db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400cb3e6
and dword [rsp + 0x3c], 0
jmp 0x1400cb3eb
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1800142e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x180012110
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1f0], rax
lea rcx, [0x1800250bb]
call fcn.1800113ac
nop
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov eax, dword [rbp + 0xc]
mov qword [rbp + 0x1e8], rax
xor edx, edx
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x1e8]
div rcx
mov rax, rdx
mov rcx, qword [rbp + 0x220]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
add rax, 0x7fffffff
cmp rax, qword [rbp + 0x18]
jbe 0x1800121be
mov rax, qword [rbp + 0x58]
add rax, 0x7fffffff
mov qword [rbp + 0x1e8], rax
jmp 0x1800121c9
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x58]
sub rax, 0x7fffffff
cmp rax, qword [rbp + 0x10]
jae 0x1800121f7
mov rax, qword [rbp + 0x58]
sub rax, 0x7fffffff
mov qword [rbp + 0x1e8], rax
jmp 0x180012202
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xb8], 0
mov dword [rbp + 0xd4], 1
jmp 0x180012235
mov eax, dword [rbp + 0xd4]
inc eax
mov dword [rbp + 0xd4], eax
xor eax, eax
cmp eax, 1
je 0x180012332
mov eax, dword [rbp + 0xc]
movsxd rcx, dword [rbp + 0xd4]
imul rax, rcx
mov rcx, qword [rbp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xf8], rax
mov eax, dword [rbp + 0xc]
movsxd rcx, dword [rbp + 0xd4]
imul rax, rcx
mov rcx, qword [rbp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x78]
cmp qword [rbp + 0xf8], rax
jbe 0x1800122a5
mov rax, qword [rbp + 0x98]
cmp qword [rbp + 0x118], rax
jae 0x1800122a5
mov eax, 3
jmp 0x180012337
mov eax, dword [rbp + 0xc]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x1800122e9
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 0xb8]
mov qword [rax], rcx
xor eax, eax
jmp 0x180012337
mov eax, dword [rbp + 0xc]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x18001232d
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 0xb8]
mov qword [rax], rcx
xor eax, eax
jmp 0x180012337
jmp 0x180012227
mov eax, 3
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18001bb30]
call fcn.18001132f
mov rax, rdi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rbp
call fcn.1800111d1
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x14000c430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000d120
nop
lea rax, [0x14000b380]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140004410
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14000c4dd
lea rcx, [rsp + 0x40]
call fcn.140026670
nop
jmp 0x14000c4f4
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140036740
nop
lea rcx, [rsp + 0x40]
call fcn.1400101d0
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x58
ret

Function at 0x140012a20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140012a75
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400077d0
mov eax, dword [rsp + 0x28]
jmp 0x140012b4e
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140012aba
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400077d0
mov eax, dword [rsp + 0x2c]
jmp 0x140012b4e
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0x6c]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x2a0]
call fcn.140007f90
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140012b16
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x2a0]
call fcn.1400077d0
mov eax, dword [rsp + 0x30]
jmp 0x140012b4e
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140012aba
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400077d0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x298
ret
Function at 0x140012ee0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140012f20
xor eax, eax
jmp 0x140012f42
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x1400134b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400134ed
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400134f4
mov al, 1
jmp 0x14001364a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140023000
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140023000
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140023040
movzx eax, al
test eax, eax
je 0x140013549
xor al, al
jmp 0x14001364a
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.14002a0b0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400135b8
cmp dword [rsp + 0x30], 1
je 0x1400135c4
cmp dword [rsp + 0x30], 3
je 0x140013638
jmp 0x140013648
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14001360f
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x48], rax
je 0x14001360f
xor al, al
jmp 0x14001364a
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140013629
mov dword [rsp + 0x34], 1
jmp 0x140013631
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001364a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001364a
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0xa8
ret
Function at 0x140023a40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1a
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.14000e420
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x258
ret
Function at 0x1400259b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.1400297a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.attrib_H_S
lea rcx, [rsp + 0xa0]
call fcn.140008df0
nop
lea rcx, [rsp + 0x40]
call fcn.140002c70
nop
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400297a0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
lea rdx, str.attrib_H
lea rcx, [rsp + 0x80]
call fcn.140008df0
nop
lea rcx, [rsp + 0x60]
call fcn.140002c70
nop
lea rcx, [rsp + 0xa0]
call fcn.140005d50
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rsp + 0x80]
call fcn.140005d50
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rsp + 0x80]
call fcn.140002c70
nop
lea rcx, [rsp + 0xa0]
call fcn.140002c70
nop
mov rcx, qword [rsp + 0xe0]
call fcn.1400077d0
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0xd8
ret
Function at 0x14002a2b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x14002a2e4
xor eax, eax
jmp 0x14002a4db
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x14002a315
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14002a4f0
jmp 0x14002a4db
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140014330
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x14002a3c4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400020d0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.140024220
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140003a90
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140023660
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14002a4cb
mov rcx, qword [rsp + 0x80]
call fcn.140016010
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14002a479
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x14002a474
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14002a4db
jmp 0x14002a3f0
cmp qword [rsp + 0x50], 0
jbe 0x14002a4cb
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x78
ret
Function at 0x14002a8b0
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x158], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x50], rax
lea rdx, str.explore.exe
lea rcx, [rsp + 0xe8]
call fcn.1400125a0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xc8]
call fcn.140023a40
lea r8, [0x140060548]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140008f60
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.140008f10
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400297a0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140008c80
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x68]
call fcn.140002c70
lea rcx, [rsp + 0x88]
call fcn.1400077d0
lea rcx, [rsp + 0xa8]
call fcn.1400077d0
lea rcx, [rsp + 0xc8]
call fcn.1400077d0
lea rcx, [rsp + 0xe8]
call fcn.1400077d0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002a9ef
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
lea rdx, str.explorer.exe
mov rcx, qword [rsp + 0x60]
call fcn.14000e420
lea rdx, [0x140017670]
mov rcx, rax
call fcn.140012b70
nop
jmp 0x14002aa8b
lea rax, [rsp + 0x170]
mov qword [0x14017f6a8], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
lea r9, [0x140012680]
xor r8d, r8d
mov edx, 9
mov rax, qword [0x14017f6a8]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14002aa8b
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x14002aa52
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x168
ret
Function at 0x14002bc80
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret