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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x40
mov r13, r8
mov r8d, 0xffffff65
mov ebx, r8d
movzx r9d, byte [rcx]
lea rdx, [rcx + 1]
test r9b, r9b
je 0x180038890
lea r10, [0x1800d1050]
nop
cmp r9b, 0x23
jne 0x180038873
cmp byte [rdx], r9b
jne 0x180038873
cmp byte [rdx + 1], r9b
cmove ebx, r8d
movzx ecx, bl
movzx eax, r9b
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
movzx r9d, byte [rdx]
inc rdx
test r9b, r9b
jne 0x180038860
not ebx
mov ebp, ebx
shr ebp, 0x18
mov r14d, ebx
shr r14d, 0x10
mov r15d, ebx
shr r15d, 8
mov ecx, dword [0x18069425c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
xor edi, edi
mov eax, dword [rdx + rax]
cmp dword [0x180695354], eax
jle 0x180038992
lea rcx, [0x180695354]
call fcn.18004c988
cmp dword [0x180695354], 0xffffffff
jne 0x180038992
xorps xmm0, xmm0
movups xmmword [0x1806953e0], xmm0
movups xmmword [0x1806953f0], xmm0
movups xmmword [0x180695400], xmm0
movups xmmword [0x180695410], xmm0
mov dword [0x1806953e0], edi
mov qword [0x1806953e8], rdi
mov qword [0x1806953f0], rdi
mov ecx, 0x20
call fcn.18004cb7c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1806953e8], rax
mov qword [0x1806953f8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x180695400], xmm0
mov qword [0x180695410], 7
mov qword [0x180695418], 8
mov dword [0x1806953e0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x1806953f8]
call fcn.180032ef0
nop
lea rcx, [0x1800b25e0]
call fcn.18004cfe0
nop
lea rcx, [0x180695354]
call fcn.18004c91c
movzx esi, bl
movabs rax, 0xcbf29ce484222325
xor rsi, rax
movabs rcx, 0x100000001b3
imul rsi, rcx
movzx eax, r15b
xor rsi, rax
imul rsi, rcx
movzx eax, r14b
xor rsi, rax
imul rsi, rcx
mov eax, ebp
xor rsi, rax
imul rsi, rcx
mov rax, rsi
and rax, qword [0x180695410]
add rax, rax
mov r8, qword [0x1806953f8]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [0x1806953e8]
cmp rcx, rdx
je 0x180038a10
mov rax, qword [r8 + rax*8]
cmp ebx, dword [rcx + 0x10]
je 0x180038a13
nop dword [rax]
cmp rcx, rax
je 0x180038a10
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x180038a00
jmp 0x180038a13
mov rcx, rdi
mov rax, rdx
test rcx, rcx
cmovne rax, rcx
cmp rax, rdx
jne 0x180038a8c
mov dword [rsp + 0x20], ebx
movsd xmm0, qword [r13]
movsd qword [rsp + 0x24], xmm0
mov eax, dword [r13 + 8]
mov dword [rsp + 0x2c], eax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call fcn.180039c00
and rsi, qword [0x180695410]
add rsi, rsi
mov rdx, qword [0x1806953f8]
mov rcx, qword [rdx + rsi*8 + 8]
mov rax, qword [0x1806953e8]
cmp rcx, rax
je 0x180038a85
mov rdx, qword [rdx + rsi*8]
cmp ebx, dword [rcx + 0x10]
je 0x180038a82
cmp rcx, rdx
je 0x180038a85
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x180038a74
mov rdi, rcx
test rdi, rdi
cmovne rax, rdi
add rax, 0x14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
Function at 0x18003a200
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18003a231
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1806953a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1806953b8]
lea rdx, [rdi + rdi]
call fcn.180032ef0
mov rax, qword [0x1806953a8]
lea r9, [rdi - 1]
mov qword [0x1806953d0], r9
mov qword [0x1806953d8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003a3a4
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1806953b8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003a2f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003a365
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18003a32d
mov r10, qword [rdx]
cmp r10, rax
je 0x18003a327
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18003a365
cmp r9, rdx
je 0x18003a341
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18003a379
cmp r9, rdx
jne 0x18003a332
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18003a39f
mov r9, qword [0x1806953d0]
jmp 0x18003a2a1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003a365
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003a3b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18003a3e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1806953e8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1806953f8]
lea rdx, [rdi + rdi]
call fcn.180032ef0
mov rax, qword [0x1806953e8]
lea r9, [rdi - 1]
mov qword [0x180695410], r9
mov qword [0x180695418], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003a554
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1806953f8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003a4a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003a515
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18003a4dd
mov r10, qword [rdx]
cmp r10, rax
je 0x18003a4d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18003a515
cmp r9, rdx
je 0x18003a4f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18003a529
cmp r9, rdx
jne 0x18003a4e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18003a54f
mov r9, qword [0x180695410]
jmp 0x18003a451
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003a515
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003a560
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18003a591
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180695368]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180695378]
lea rdx, [rdi + rdi]
call fcn.180032ef0
mov rax, qword [0x180695368]
lea r9, [rdi - 1]
mov qword [0x180695390], r9
mov qword [0x180695398], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003a704
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180695378]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003a650
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003a6c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18003a68d
mov r10, qword [rdx]
cmp r10, rax
je 0x18003a687
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18003a6c5
cmp r9, rdx
je 0x18003a6a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18003a6d9
cmp r9, rdx
jne 0x18003a692
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18003a6ff
mov r9, qword [0x180695390]
jmp 0x18003a601
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003a6c5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003dd80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
mov eax, 0x13d0
call fcn.1800b0850
sub rsp, rax
mov rax, qword [0x18043a040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
test rdx, rdx
je 0x18003de42
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
ja 0x18003dee8
cmp rdx, 0x1000
jb 0x18003de17
lea rcx, [rdx + 0x27]
cmp rcx, rdx
jbe 0x18003dee2
call fcn.18004cb7c
test rax, rax
je 0x18003de10
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18003de22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18004cb7c
mov rdi, rax
mov qword [r14], rdi
lea rax, [rsi + rdi]
mov qword [r14 + 0x10], rax
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rax, [rsi + rdi]
mov qword [r14 + 8], rax
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
mov dword [rsp + rdi*4 + 0x34], ecx
inc rdi
cmp rdi, 0x270
jb 0x18003de70
mov dword [rsp + 0x30], 0x270
test rsi, rsi
je 0x18003debb
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.18004c6a0
shr eax, 0x18
mov rcx, qword [r14]
mov byte [rbx + rcx], al
inc rbx
cmp rbx, rsi
jb 0x18003dea0
mov rax, r14
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.18004c8c0
mov rbx, qword [rsp + 0x1400]
add rsp, 0x13d0
pop r14
pop rdi
pop rsi
ret
call fcn.180004e30
int3
call fcn.180033a90
int3
Function at 0x18003e360
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1400
call fcn.1800b0850
sub rsp, rax
mov rax, qword [0x18043a040]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rsi, rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13e4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x64], eax
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x18003e3b0
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x270
call fcn.18004c6a0
shr eax, 0x1e
lea rcx, [rsp + 0x60]
lea ebp, [rax - 0x7ffff81d]
btc ebp, 0x1f
call fcn.18004c6a0
mov ecx, eax
lea rbx, [rcx + rcx*2]
shl rbx, 2
cmp ebx, 3
ja 0x18003e429
nop word [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.18004c6a0
mov ecx, eax
lea rbx, [rcx + rcx*2]
shl rbx, 2
cmp ebx, 4
jb 0x18003e410
lea rcx, [rsp + 0x60]
shr rbx, 0x20
call fcn.18004c6a0
mov ecx, eax
imul rdi, rcx, 0x1c
cmp edi, 3
ja 0x18003e457
lea rcx, [rsp + 0x60]
call fcn.18004c6a0
mov ecx, eax
imul rdi, rcx, 0x1c
cmp edi, 4
jb 0x18003e442
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
inc bx
shr rdi, 0x20
mov word [rsp + 0x42], bx
lea rdx, [rsp + 0x50]
inc di
mov word [rsp + 0x40], bp
lea rcx, [rsp + 0x40]
mov word [rsp + 0x46], di
mov qword [rsp + 0x48], 0xc
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp qword [rsi + 0x18], 7
jbe 0x18003e4a0
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18003e4f1
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.18004c8c0
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18003f9d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x290
mov rax, qword [0x18043a040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18003fa2b
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18003fa32
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18003fb1a
mov qword [rsp + 0x2a0], rdi
xor edi, edi
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x18003fa60
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.180038d80
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x18003fa86
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x18003fb3b
test rdx, rdx
je 0x18003fac8
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x18003fb3b
add rax, 2
sub rdx, 1
jne 0x18003fab4
mov edi, dword [rsp + 0x48]
cmp r10, 7
jbe 0x18003fb07
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18003faff
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fb8d
mov rcx, r9
call fcn.18004cff8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18004c8c0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rsi
ret
cmp r10, 7
jbe 0x18003fb72
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18003fb6a
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fb8d
mov rcx, r9
call fcn.18004cff8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18003fa40
jmp 0x18003fb07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180046880
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800468b1
xor eax, eax
lea r8, [0x1800457e0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180047310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x1800474a5
cmp rcx, rbp
je 0x1800474a5
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x1800473ac
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x1800474cc
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1800473c3
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x1800473c3
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1800473d6
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x180047423
mov r8d, eax
cmp eax, 0x800
jae 0x1800473f0
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x180047423
cmp eax, 0x10000
jae 0x18004740a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x180047423
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x1800474a5
add qword [rsi], 2
test dil, dil
jne 0x180047444
cmp r10d, 3
jae 0x180047450
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x18004747e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x180047460
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x1800474a5
cmp qword [rbx], rbp
jne 0x18004736d
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x1800474af
Function at 0x180047d80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x180047da1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180047dce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180047dd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180047e29
test ecx, ecx
jle 0x180047e09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180047e29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180047e29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
in eax, 0x43
invalid
Function at 0x180047e50
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 0x180047e72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180047e81
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 0x180047ea4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180047ea6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180047ee2
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 0x180047f7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180047f1d
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 0x180047f5e
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 0x180047f7e
cmp rbx, rax
ja 0x180047f30
test rbx, rbx
je 0x180047f7e
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
invalid