joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070f08
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x140070f4c
cmp byte [rdx + 1], sil
jne 0x140070f4c
cmp byte [rdx + 2], sil
jne 0x140070f4c
cmp byte [rdx + 3], sil
jne 0x140070f4c
cmp byte [rdx + 4], sil
je 0x140071114
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14007109a
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14007109a
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070fc2
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x140070f8b
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x140070f9a
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x140070fa4
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x140070fae
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x140070fb7
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x140070fcd
cmp byte [rbx + 1], sil
je 0x140070ff0
movzx eax, byte [rdi + 0x32]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recv
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x140071019
movzx eax, byte [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recvfrom
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [rbx + 3]
test al, al
je 0x14007106b
cmp byte [rbx + 2], sil
jne 0x140071044
cmp byte [rdi + 0x20], sil
jne 0x140071044
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14007105b
test al, al
je 0x14007106b
movzx eax, byte [rdi + 0x31]
mov edx, 0x100
shl eax, 0x10
movsxd r9, eax
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x14007110c
movzx eax, byte [rdi + 0x35]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, 0x5b
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14007110c
cmp byte [rbx], sil
je 0x1400710b0
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.140071530
cmp byte [rbx + 1], sil
je 0x1400710c7
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.140071530
cmp byte [rbx + 2], sil
je 0x1400710de
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.140071530
cmp byte [rbx + 3], sil
je 0x1400710f5
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.140071530
cmp byte [rbx + 4], sil
je 0x14007110c
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.140071530
mov rcx, rdi
call fcn.14006fc2c
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140071598
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov qword [rcx], 0xff
mov word [rcx + 8], dx
mov byte [rcx + 0xa], al
test dx, dx
je 0x140071600
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x1400715cd
xor al, al
jmp 0x140071600
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x1400715ee
mov byte [rbx + 1], al
test dil, 2
je 0x1400715f7
mov byte [rbx + 3], al
test dil, 4
je 0x140071600
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007160c
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx + 6], eax
mov dword [rcx + 1], eax
mov byte [rcx + 5], al
mov byte [rcx + 0xa], al
mov byte [rcx], dl
cmp dl, 0xff
je 0x14007163a
movzx ecx, dl
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140073934
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1400737ac
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add qword [rsi + 0x18], rax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140073bbc
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x140073bee
call fcn.140075698
test al, al
jne 0x140073c0b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140073c01
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140073c14
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140039090
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.14007512c
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.14007512c
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140073cae
test dil, dil
je 0x140073ca7
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.140027cf4
test eax, eax
je 0x140073ca0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x140073d52
xor al, al
jmp 0x140073d52
lea rcx, [rbp + 0xff80]
call fcn.14007563c
test al, al
je 0x140073ca7
lea rcx, [rbp - 0x80]
call fcn.14007563c
test al, al
je 0x140073d6b
test dil, dil
je 0x140073ca7
lea rdx, str..
lea rcx, [rbp + 0xff80]
call fcn.14002725c
lea rcx, [rbp + 0xff80]
call fcn.140027098
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140027098
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001f29c
lea rcx, [rsp + 0x58]
call fcn.140074080
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001c5f8
test bl, bl
jne 0x140073ca7
lea rcx, [rbp - 0x80]
call fcn.14007563c
test al, al
jmp 0x140073cd2
Function at 0x140074044
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp eax, 1
sete al
add rsp, 0x30
pop rbx
ret

Function at 0x140074080
Capabilities:
Check if file exists
Create directory
Get 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, 0x60
mov rax, qword [rcx]
lea rdx, [0x1400ac49c]
mov edi, 1
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx + 0x18]
lea rcx, [rbp - 0x40]
add dword [rax], edi
mov qword [rbp - 0x28], rax
call fcn.14001f520
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140074176
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 2
jne 0x140074104
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140074109
jmp 0x140074184
cmp eax, 3
jne 0x14007417f
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x20], rsi
lea rdx, [0x1400ac49c]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 8], rax
add dword [rax], edi
call fcn.14001f140
or r8, 0xffffffffffffffff
cmp rax, r8
je 0x14007416b
lea rcx, [rbp - 0x20]
mov rdx, rax
call fcn.14001f1a4
lea rcx, [rbp - 0x20]
call fcn.140074080
test al, al
je 0x140074169
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.14001c5f8
jmp 0x140074181
test al, 0x10
je 0x14007417f
mov bl, dil
jmp 0x140074181
xor ebx, ebx
mov dil, bl
lea rcx, [rbp - 0x40]
call fcn.14001c5f8
lea r11, [rsp + 0x60]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400741a8
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
lea rcx, [rsp + 0x30]
xor edi, edi
mov r14b, dil
call fcn.14001e7d0
lea rcx, [rsp + 0x70]
call fcn.14001e7d0
lea rcx, [rsp + 0x50]
call fcn.14001e7d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140025870
mov rcx, qword [rsp + 0x30]
call fcn.14007563c
test al, al
je 0x14007421c
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.14001f100
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.140025674
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov sil, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400742bf
cmp sil, 1
jne 0x1400742bf
test byte [rbp - 0x70], 0x10
jne 0x14007429e
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001f504
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ee40
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001f100
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x1400742b4
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140074253
mov sil, dil
jmp 0x140074253
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400742cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001c5f8
lea rcx, [rsp + 0x70]
call fcn.14001c5f8
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400756d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov r15, rcx
mov byte [0x1400e551f], dil
test ebx, ebx
je 0x140075746
mov byte [0x1400e5520], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
lea r8, [0x140075c0c]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x34], ebx
call fcn.140028628
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x14007577b
or edx, 0xffffffff
mov rcx, rdi
mov byte [0x1400e5520], 0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
or eax, 0xffffffff
cmp byte [0x1400e551f], 1
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14007a0a4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [reloc.WSOCK32.dll_accept]
jne 0x14007a0b5
call fcn.14007a1a0
mov rax, qword [0x1400e8180]
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400e8180], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
add rsp, 0x28
ret

Function at 0x14007a0f8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [reloc.WSOCK32.dll_accept]
jne 0x14007a109
call fcn.14007a1a0
mov rax, qword [0x1400e8180]
xorps xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400e8180], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1400d2e98]
add rsp, 0x28
ret

Function at 0x14007a158
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r8d, 1
mov dword [0x1400e77c0], ecx
lea rdx, [0x1400e77c4]
mov ecx, r8d
mov eax, dword [rdx - 4]
shr eax, 0x1e
xor eax, dword [rdx - 4]
imul eax, eax, 0x6c078965
add eax, ecx
add ecx, r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
cmp ecx, 0x270
jl 0x14007a16e
mov dword [reloc.WSOCK32.dll_accept], r8d
mov dword [0x1400e77a8], r8d
ret

Function at 0x14007a1a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400e77a8], 0
lea rbx, [0x1400e77c0]
jne 0x14007a1c5
xor ecx, ecx
call fcn.14002b034
mov rcx, rax
call fcn.14007a158
mov dword [reloc.WSOCK32.dll_accept], 0x270
mov qword [0x1400e8180], rbx
mov r9d, 0xe3
mov r10d, 0x9908b0df
mov r11d, 0x7ffffffe
mov edx, dword [rbx + 4]
mov al, dl
and al, 1
neg al
sbb ecx, ecx
xor edx, dword [rbx]
and edx, r11d
and ecx, r10d
xor edx, dword [rbx]
shr edx, 1
xor edx, dword [rbx + 0x634]
xor edx, ecx
mov dword [rbx], edx
add rbx, 4
dec r9d
jne 0x14007a1e8
mov r9d, 0x18c
lea r8, [rbx + 4]
mov edx, dword [r8]
mov al, dl
and al, 1
neg al
sbb ecx, ecx
xor edx, dword [rbx]
and edx, r11d
and ecx, r10d
xor edx, dword [rbx]
shr edx, 1
xor edx, dword [rbx - 0x38c]
xor edx, ecx
mov dword [rbx], edx
lea rbx, [r8]
dec r9d
jne 0x14007a218
mov ecx, dword [0x1400e77c0]
mov al, cl
and al, 1
neg al
mov eax, dword [r8]
sbb edx, edx
xor eax, ecx
and eax, r11d
and edx, r10d
xor eax, dword [r8]
shr eax, 1
xor eax, dword [r8 - 0x38c]
xor eax, edx
mov dword [r8], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14007a608
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, dword [rcx + 0x18]
mov rbx, rcx
cmp dword [rcx + 0x450], edi
jae 0x14007a72f
mov r14d, 0x1ffff
mov edx, 1
mov rcx, rbx
call fcn.14007a360
mov rcx, rbx
cmp eax, 1
jne 0x14007a66e
lea edx, [rax + 7]
call fcn.14007a360
mov edx, dword [rbx + 0x450]
mov rcx, qword [rbx + 0x448]
and rdx, r14
mov byte [rdx + rcx], al
inc dword [rbx + 0x450]
inc dword [rbx + 0x454]
jmp 0x14007a6c8
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.14007a41c
mov r8d, dword [rbx + 0x450]
mov r9d, dword [rsp + 0x30]
sub r8d, dword [rsp + 0x38]
test r9d, r9d
je 0x14007a6c8
mov ecx, dword [rbx + 0x450]
mov rdx, qword [rbx + 0x448]
mov eax, r8d
and rax, r14
and rcx, r14
inc r8d
mov al, byte [rax + rdx]
mov byte [rcx + rdx], al
inc dword [rbx + 0x450]
inc dword [rbx + 0x454]
dec r9d
jne 0x14007a693
mov dword [rsp + 0x30], r9d
mov rcx, rbx
call fcn.14007a84c
mov eax, dword [0x1400e8190]
cmp eax, 0x1000
jbe 0x14007a712
mov r9, qword [rbx + 0x468]
and dword [0x1400e8190], 0
test r9, r9
je 0x14007a71a
imul eax, dword [rbx + 0x10], 0x64
mov ecx, dword [rbx + 0x14]
xor edx, edx
div dword [rbx + 0x18]
mov edx, dword [rbx + 0x10]
mov r8d, eax
call r9
test eax, eax
jne 0x14007a71a
mov byte [rbx + 0x45c], 1
jmp 0x14007a71a
inc eax
mov dword [0x1400e8190], eax
cmp byte [rbx + 0x45c], 0
jne 0x14007a76c
cmp dword [rbx + 0x450], edi
jb 0x14007a630
movsxd rax, dword [rbx + 0x480]
test eax, eax
je 0x14007a759
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x470]
mov r8, rax
mov edx, 1
call fcn.140029210
and dword [rbx + 0x480], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, 4
jmp 0x14007a75b

Function at 0x14007a7b8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 7]
cmp dword [rcx + 0x1c], edx
jne 0x14007a7e9
mov edx, dword [rcx + 0x14]
add rdx, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140026a50
jmp 0x14007a7f7
mov r9, qword [rcx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14002b484
movzx ecx, byte [rsp + 0x34]
movzx eax, byte [rsp + 0x35]
add dword [rbx + 0x14], 8
shl ecx, 8
lea rdx, str.EA06
xor ebx, ebx
or ecx, eax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x34], bl
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x37]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
lea rcx, [rsp + 0x30]
call fcn.14002b560
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007a84c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x20], 1
mov eax, dword [rcx + 0x450]
mov rbx, rcx
jne 0x14007a8a8
cmp dword [rcx + 0x458], eax
jae 0x14007a925
mov r8d, dword [rbx + 0x458]
mov rax, qword [rbx + 0x448]
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx]
and r8d, 0x1ffff
mov al, byte [r8 + rax]
mov byte [rdx + rcx], al
inc dword [rbx + 0x458]
mov eax, dword [rbx + 0x458]
inc dword [rbx + 0x10]
cmp eax, dword [rbx + 0x450]
jb 0x14007a86d
jmp 0x14007a925
cmp dword [rcx + 0x458], eax
jae 0x14007a925
mov r8d, dword [rbx + 0x458]
mov rax, qword [rbx + 0x448]
movsxd rdx, dword [rbx + 0x480]
mov rcx, qword [rbx + 0x470]
and r8d, 0x1ffff
mov al, byte [r8 + rax]
mov byte [rdx + rcx], al
inc dword [rbx + 0x480]
cmp dword [rbx + 0x480], 0x10000
jne 0x14007a90e
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x470]
mov edx, 1
mov r8d, 0x10000
call fcn.140029210
and dword [rbx + 0x480], 0
inc dword [rbx + 0x458]
mov eax, dword [rbx + 0x458]
inc dword [rbx + 0x10]
cmp eax, dword [rbx + 0x450]
jb 0x14007a8b0
and dword [rbx + 0x454], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14007a934
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
test dword [rcx + 0x484], 0xfffeffff
mov rbx, rcx
jne 0x14007a96b
mov r9, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x478]
mov edx, 1
mov r8d, 0x10000
call fcn.14002b484
and dword [rbx + 0x484], 0
movsxd rdx, dword [rbx + 0x484]
mov rax, qword [rbx + 0x478]
mov al, byte [rdx + rax]
lea ecx, [rdx + 1]
mov dword [rbx + 0x484], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14007ab94
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov ebx, r9d
mov esi, r8d
mov rdi, rdx
call fcn.14007a98c
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14007a9e8
test esi, esi
je 0x14007abdf
mov ebx, esi
lea rcx, [rsp + 0x20]
call fcn.14007ab5c
xor byte [rdi], al
inc rdi
dec rbx
jne 0x14007abcb
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140082338
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
lea rcx, [rsp + 0x48]
call fcn.14001f29c
mov rax, qword [rsp + 0x48]
lea rdx, [0x1400d17a8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
inc dword [rax]
mov qword [rbp - 0x80], rax
call fcn.14001f100
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov bl, 1
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1400824e9
mov sil, byte [rbp + 0x228]
mov rdi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x200]
call fcn.140006f80
cmp eax, 1
je 0x1400824e2
cmp eax, 0xb
jne 0x1400823f3
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400823ce
lea rdx, [0x1400ac2f0]
lea rcx, [rbp - 0x44]
call fcn.140027cf4
test eax, eax
je 0x1400824c9
lea rdx, [0x1400d17b0]
lea rcx, [rbp - 0x44]
call fcn.140027cf4
test eax, eax
je 0x1400824c9
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14001f504
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x48]
call fcn.14001f100
test byte [rbp - 0x70], 0x10
je 0x1400824a3
test sil, sil
je 0x14008244e
inc qword [rdi]
cmp byte [rbp + 0x230], 0
je 0x1400824c9
lea rdx, [0x1400ac49c]
lea rcx, [rsp + 0x48]
call fcn.14001f100
mov al, byte [rbp + 0x230]
mov r9, qword [rbp + 0x218]
mov r8, qword [rbp + 0x210]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rdi
call fcn.140082338
mov bl, al
test al, al
je 0x1400824e4
jmp 0x1400824c9
mov eax, dword [rbp - 0x50]
mov ecx, dword [rbp - 0x54]
shl rcx, 0x20
or rcx, rax
mov rax, qword [rbp + 0x210]
add qword [rax], rcx
test sil, sil
je 0x1400824c9
mov rax, qword [rbp + 0x218]
inc qword [rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400823ce
jmp 0x1400824e4
xor bl, bl
mov rax, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x68]
call fcn.14001c5f8
lea rcx, [rsp + 0x48]
call fcn.14001c5f8
mov al, bl
mov rbx, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret