joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bec80
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 0x18]
je 0x1400becb2
mov rax, qword [rdi]
mov qword [r8], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x1400bed11
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r15, rax
neg r15
shl rax, 3
mov rbx, rdx
sub rbx, rax
mov r14, r8
sub r14, rdx
je 0x1400becfd
mov rcx, rbx
mov r8, r14
call fcn.1400c8110
mov r8, qword [rsi + 8]
add rbx, r14
mov qword [rsi + 0x10], rbx
lea rax, [r8 + r15*8]
mov qword [rsi + 8], rax
mov r8, rbx
jmp 0x1400bec9b
mov rcx, r8
sub rcx, rax
sar rcx, 2
cmp r8, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x1400bedae
lea rcx, [rbx*8]
call fcn.140028b40
mov rcx, rbx
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov rcx, qword [rsi + 8]
mov r11, qword [rsi + 0x10]
lea r9, [rax + rbx*8]
mov r8, rdx
sub r11, rcx
je 0x1400bed85
mov r10, r11
sar r10, 3
and r11, 0xfffffffffffffff8
mov r8, r11
add r8, rdx
shl r10, 3
xor r11d, r11d
mov rbx, qword [rcx + r11]
mov qword [rdx + r11], rbx
add r11, 8
cmp r10, r11
jne 0x1400bed74
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], r9
test rcx, rcx
je 0x1400bec9b
call fcn.140022890
mov r8, qword [rsi + 0x10]
jmp 0x1400bec9b
call fcn.14002b800
int3

Function at 0x1400c1840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9d, 0xffffffff
lea r8, [0x1400db850]
cmp rdx, 4
jb 0x1400c18a6
mov eax, r9d
xor r9b, byte [rcx]
shr eax, 8
movzx r9d, r9b
xor eax, dword [r8 + r9*4]
mov r9d, eax
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [r8 + rax*4]
mov eax, r9d
xor r9b, byte [rcx + 2]
shr eax, 8
movzx r9d, r9b
xor eax, dword [r8 + r9*4]
mov r9d, eax
xor al, byte [rcx + 3]
shr r9d, 8
movzx eax, al
xor r9d, dword [r8 + rax*4]
add rcx, 4
add rdx, 0xfffffffffffffffc
cmp rdx, 3
ja 0x1400c1853
test rdx, rdx
je 0x1400c18cd
xor r10d, r10d
mov eax, r9d
xor r9b, byte [rcx + r10]
shr eax, 8
movzx r9d, r9b
xor eax, dword [r8 + r9*4]
inc r10
mov r9d, eax
cmp rdx, r10
jne 0x1400c18b1
jmp 0x1400c18d0
mov eax, r9d
not eax
ret
Function at 0x140001008
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
sub rsp, 0x448
mov rdx, rcx
lea r8, [rax + 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wvsprintfA]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140001065
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x448
ret
Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
lea rcx, [rbp + 0x6f]
call fcn.140002570
mov rcx, rax
call fcn.140002550
lea rcx, [rbp - 0x19]
mov r9, rax
call fcn.140002614
mov rcx, rax
call fcn.1400025f4
mov rcx, rax
mov rdx, r9
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x1400010ff
lea rcx, [rbp + 0x6f]
call fcn.1400022ac
mov rcx, rax
call fcn.14000228c
lea rcx, [rbp - 0x19]
mov r10, rax
call fcn.140002340
mov rcx, rax
call fcn.140002320
mov rdx, rax
mov r8, r10
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rbp + 0x67]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test eax, eax
jne 0x140001152
lea rcx, [rbp + 0x6f]
call fcn.1400022ac
mov rcx, rax
call fcn.14000228c
lea rcx, [rbp - 0x19]
mov r10, rax
call fcn.1400020a8
mov rcx, rax
call fcn.140002088
mov rdx, rax
mov r8, r10
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000125d
lea rcx, [rbp - 0x19]
call fcn.140001e54
mov rcx, rax
call fcn.140001e34
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
jne 0x1400011da
lea rcx, [rbp + 0x6f]
call fcn.1400022ac
mov rcx, rax
call fcn.14000228c
lea rcx, [rbp + 8]
mov r10, rax
call fcn.140001944
mov rcx, rax
call fcn.140001924
mov rdx, rax
mov r8, r10
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, ebx
mov r8, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
jne 0x140001201
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x140001246
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x90]
xor al, al
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0x6f]
call fcn.1400022ac
mov rcx, rax
call fcn.14000228c
lea rcx, [rbp - 0x19]
mov r10, rax
call fcn.140001f24
mov rcx, rax
call fcn.140001f04
mov rdx, rax
mov r8, r10
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400012a0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x30]
call fcn.1400017b8
mov rcx, rax
call fcn.140001798
mov r8, rax
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x30]
call fcn.1400017b8
mov rcx, rax
call fcn.140001798
mov r8, rax
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x30]
call fcn.1400017b8
mov rcx, rax
call fcn.140001798
mov r8, rax
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rsp + 0x30]
call fcn.1400014d4
mov rcx, rax
call fcn.1400014b4
mov rcx, rax
call fcn.140001008
lea rcx, [rsp + 0x30]
call fcn.1400013a4
mov rcx, rax
call fcn.140001384
mov rcx, rax
call fcn.140001008
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001070
mov eax, 1
add rsp, 0x68
ret

Function at 0x140001384
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x10
jb 0x140001387
mov byte [rcx + 0x10], 0
mov rax, rcx
ret

Function at 0x1400014b4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x2b
jb 0x1400014b7
mov byte [rcx + 0x2b], 0
mov rax, rcx
ret

Function at 0x140001798
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x16
jb 0x14000179b
mov byte [rcx + 0x16], 0
mov rax, rcx
ret

Function at 0x140001924
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x4e
jb 0x140001927
mov byte [rcx + 0x4e], 0
mov rax, rcx
ret

Function at 0x140001e34
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0xa
jb 0x140001e37
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x140001f04
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x15
jb 0x140001f07
mov byte [rcx + 0x15], 0
mov rax, rcx
ret

Function at 0x140002088
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x1d
jb 0x14000208b
mov byte [rcx + 0x1d], 0
mov rax, rcx
ret

Function at 0x14000228c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 6
jb 0x14000228f
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x140002320
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 0x20
jb 0x140002323
mov byte [rcx + 0x20], 0
mov rax, rcx
ret
Function at 0x140002550
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 7
jb 0x140002553
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x1400025f4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movsxd rdx, r8d
lea eax, [r8 + 6]
inc r8d
xor byte [rdx + rcx], al
cmp r8d, 9
jb 0x1400025f7
mov byte [rcx + 9], 0
mov rax, rcx
ret
Function at 0x1800015a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x18007e098]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
xor ebx, ebx
mov edi, ebx
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000161f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x2a0]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x2a4]
mov dword [rsp + 0x2a0], 4
lea edx, [rbx + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rsp + 0x2a4]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18000162f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne bl
mov ecx, ebx
call fcn.1800017c0
lea rcx, [rsp + 0x30]
call fcn.18000a060
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x18000165b
mov r8, qword [rax]
add r8, qword [rax + 0x10]
mov rdx, qword [rax]
jmp 0x180001662
mov r8, qword [rax + 0x10]
add r8, rax
lea rcx, [rsp + 0x2a8]
call fcn.1800131f0
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180001703
cmp qword [rsp + 0x2c0], 8
lea rcx, [rsp + 0x2a8]
lea rdx, [rsp + 0x8c]
cmovae rcx, qword [rsp + 0x2a8]
call fcn.180045860
test eax, eax
jne 0x1800016f1
mov r8d, dword [rsp + 0x68]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800016f1
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001697
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x2c0]
cmp rdx, 8
jb 0x180001750
mov rcx, qword [rsp + 0x2a8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000174b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800017b2
call fcn.18003af8c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180001789
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001784
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800017ac
call fcn.18003af8c
xor eax, eax
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.18003af30
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2d0
pop rdi
ret
call fcn.180041954
int3
call fcn.180041954
int3
Function at 0x180005b90
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x18007e098]
xor rax, rsp
mov qword [rsp + 0x280], rax
cmp qword [rcx + 0x18], 0x10
mov rdx, rcx
jb 0x180005bc1
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x180005bc8
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x20]
call fcn.1800131f0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180005bea
mov ebx, eax
jmp 0x180005c4c
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180005c41
nop dword [rax]
nop dword [rax + rax]
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x6c]
cmovae rdx, qword [rsp + 0x20]
call fcn.180045860
mov rcx, rbx
test eax, eax
je 0x180005ca5
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180005c10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180005c8a
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005c85
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005cb1
call fcn.18003af8c
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18003af30
add rsp, 0x290
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x180005c4c
call fcn.180041954
int3
Function at 0x18000de90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18000deb2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x18000df2c
mov rdi, r14
mov rcx, rbx
call fcn.180011700
test rax, rax
jle 0x18000df04
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.18003cf90
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000df1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18000df24
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18000dec6
sub r14, rdi
jmp 0x18000e00f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18000df43
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000df45
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000df77
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18003cf90
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000e00c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000dfb2
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
cmp rbp, 0xfff
jbe 0x18000dfed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180049710
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18000e00c
cmp rbp, rax
ja 0x18000dfc0
test rbp, rbp
je 0x18000e00c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180049710
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18000f1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x18000f353
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x18000f353
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x18000f259
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x18000f377
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x18000f26f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x18000f26f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x18000f282
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x18000f2cd
mov r9d, eax
cmp eax, 0x800
jae 0x18000f29c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x18000f2cd
cmp eax, 0x10000
jae 0x18000f2b6
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x18000f2cd
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x18000f353
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x18000f2f1
cmp r10d, 3
jae 0x18000f2fd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x18000f32e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x18000f310
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x18000f20e
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x18000f362

Function at 0x180030a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18001c00e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18001bff1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18001bfdc
Function at 0x180051458
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18005146e
mov al, 1
jmp 0x1800514ce
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18005147f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800514cc
mov ecx, dword [rcx + 0x18]
nop
call fcn.18005dd18
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800514cc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800514cc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800514cc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800514ce
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800555fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18003bc00
sub rsp, rax
mov rax, qword [0x18007e098]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180051338
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18005564b
mov rax, rbp
jmp 0x180055753
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x810f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180057034
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x810f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18005574f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005574f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180057034
test rax, rax
js 0x18005574f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18005574f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180055741
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180055741
cmp byte [rcx], 0xd
jne 0x180055727
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180055736
cmp byte [rcx + 1], 0xa
jne 0x180055736
inc rcx
jmp 0x180055736
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7e470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180055709
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180055753
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003af30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800563d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800810f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18005642b
cmp word [rdx], r13w
jne 0x18005642b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180056430
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180056555
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180056576
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180056469
mov rdx, r9
mov word [rbx], cx
jmp 0x180056490
cmp r9, r8
jae 0x1800564a0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18005644a
jmp 0x180056555
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005654a
cmp dword [rsp + 0x80], esi
je 0x18005654a
lea r8, [0x1800810f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180056522
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800564f2
mov word [rbx], r13w
jmp 0x180056552
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800564ff
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180056552
cmp word [rsp + 0x70], r13w
jne 0x18005652f
cmp rbx, r14
je 0x1800564ec
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18005703c
cmp word [rsp + 0x70], r13w
je 0x180056555
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800810f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18005654f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180056555