joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7a7660
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x7a76a6
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
cmp dword [rax + 0x10], 0
je 0x7a77ad
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
cmp dword [rcx + 0xa8], eax
jae 0x7a7771
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x7a7722
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x40]
add r8, 0xa8
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x228]
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
cmp dword [r11 + 0xa8], eax
jne 0x7a776c
xor eax, eax
jmp 0x7a77db
jmp 0x7a76bc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
jmp 0x7a76a6
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x5c], 0
je 0x7a77c2
mov dword [rsp + 0x24], 0xce
jmp 0x7a77ca
mov dword [rsp + 0x24], 0xcd
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x24]
mov dword [rcx + 0x24], eax
mov eax, 1
add rsp, 0x38
ret
Function at 0x828570
Capabilities:
Hash data with crc32

Disassembly:
xor rcx, rcx
mov eax, ecx
xor rdx, rdx
mov r8d, eax
and r8d, 1
test r8b, r8b
je 0x82858f
shr eax, 1
xor eax, 0xedb88320
jmp 0x828592
shr eax, 1
add edx, 1
cmp edx, 8
jne 0x828578
nop
lea rdx, [0x009032c0]
movsxd r8, ecx
mov dword [rdx + r8*4], eax
add ecx, 1
cmp ecx, 0x100
jne 0x828573
nop
mov byte [0x009036c0], 1
ret

Function at 0x8285c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, r8d
mov edi, ecx
cmp byte [0x009036c0], 0
jne 0x8285dd
call fcn.00828570
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x82861d
add ecx, 1
lea rdx, [0x009032c0]
movsxd r8, eax
movzx r8, byte [rbx + r8]
mov r9d, edi
xor r9d, r8d
and r9d, 0xff
mov r9d, r9d
shr edi, 8
mov edx, dword [rdx + r9*4]
xor edx, edi
mov edi, edx
add eax, 1
cmp eax, ecx
jne 0x8285ec
nop
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x84a740
Capabilities:
Get hostname

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rdx
mov rcx, rbx
mov edx, pe_nt_image_headers64
call fcn.00410ab0
xor rax, rax
cmp qword [rbx], 0
je 0x84a769
mov rax, qword [rbx]
mov eax, dword [rax - 4]
mov dword [rbp + 0x2c], eax
mov rcx, rbx
call fcn.0040f8f0
mov rcx, rax
lea rdx, [rbp + 0x2c]
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x84a791
mov rcx, rbx
mov edx, dword [rbp + 0x2c]
call fcn.00410ab0
jmp 0x84a799
mov rcx, rbx
call fcn.0040efd0
mov rax, rbx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x1400069b0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140110340]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop dword [rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006a30
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006aac
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006a5b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400dcc60
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006aac
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x2c]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006aaf
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140006abc
mov rcx, qword [rdi]
sub rcx, rbx
nop
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140006ad2
inc rbx
test eax, eax
jne 0x140006ac0
mov rcx, rsi
test edx, edx
je 0x140006b00
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006a20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400060a0
xor eax, eax
jmp 0x140006b13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 8]
mov rcx, rdi
call fcn.1400060a0
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400dba80
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
Function at 0x140006dc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140110340]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [0x1401c38ba], 0
mov rbx, rcx
je 0x140006feb
mov rcx, qword [0x1401c3d48]
mov qword [rsp + 0x78], rbp
xor ebp, ebp
vmovaps xmmword [rsp + 0x50], xmm6
test rcx, rcx
je 0x140006ea6
mov eax, dword [0x1401c3d50]
test eax, eax
je 0x140006e42
mov edx, dword [0x14014f134]
lea r8, [rsp + 0x38]
add rdx, qword [rbx + 0x58]
mov r9d, 8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x1401c3d50]
mov rcx, qword [0x1401c3d48]
test rcx, rcx
je 0x140006ea6
test eax, eax
je 0x140006e79
mov edx, dword [0x14014f0f0]
lea r8, [rsp + 0x40]
add rdx, qword [rsp + 0x38]
mov r9d, 8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x1401c3d50]
mov rcx, qword [0x1401c3d48]
test rcx, rcx
je 0x140006ea6
nop
test eax, eax
je 0x140006ea6
mov edx, dword [0x14014f12c]
lea r8, ds:[rsp + 0x30]
add rdx, qword [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword gs:[0x58]
mov ecx, 8
vxorps xmm6, xmm6, xmm6
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1401c3c28], eax
jle 0x140006ef7
lea rcx, [0x1401c3c28]
call fcn.1400dbb48
cmp dword [0x1401c3c28], 0xffffffff
jne 0x140006ef7
lea rcx, [0x1401c3c28]
vmovss dword [0x1401c38f8], xmm6
vmovss dword [0x1401c38fc], xmm6
call fcn.1400dbadc
mov eax, dword [0x1401c38f0]
nop dword [rax]
cmp dword [rbx + 0xd8], eax
jbe 0x140006fcd
cmp byte [rsp + 0x30], bpl
je 0x140006fcd
vmovss xmm0, dword [rbx + 0xdc]
vmovss xmm4, dword [rbx + 0x130]
vmovss xmm3, dword [0x1400f5724]
vmovss xmm6, dword [0x1400f5330]
vmovaps xmm1, xmm6
vmovaps xmm5, xmm6
vfnmadd213ss xmm5, xmm0, dword [0x1401c38f8]
vmovss xmm0, dword [rbx + 0xe0]
vfnmadd213ss xmm1, xmm0, dword [0x1401c38fc]
vdivss xmm0, xmm3, xmm4
vmulss xmm1, xmm0, xmm1
vmulss xmm2, xmm1, dword [0x1401c1740]
vdivss xmm0, xmm3, xmm4
vmulss xmm1, xmm0, xmm5
vcvttss2si esi, xmm2
vmulss xmm2, xmm1, dword [0x1401c1744]
mov ecx, 1
vcvttss2si edi, xmm2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140006fab
neg edi
mov qword [rsp + 0x20], rbp
mov r8d, edi
xor r9d, r9d
mov edx, esi
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
vmulss xmm3, xmm6, dword [rbx + 0xdc]
vmulss xmm2, xmm6, dword [rbx + 0xe0]
vmovss dword [0x1401c38f8], xmm3
vmovss dword [0x1401c38fc], xmm2
jmp 0x140006fdd
vmovss dword [0x1401c38f8], xmm6
vmovss dword [0x1401c38fc], xmm6
vmovaps xmm6, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
mov rcx, rbx
mov eax, 0xb8
mov edi, 0x68
add rcx, rax
call fcn.1400060a0
lea rcx, [rbx + rdi]
call fcn.14002b880
lea rcx, [rbx + 0x30]
call fcn.1400060a0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dba80
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140028ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
movzx eax, byte [rdx + 0x24]
mov byte [rcx + 0x24], al
movzx eax, byte [rdx + 0x25]
mov byte [rcx + 0x25], al
mov rax, qword [rdx + 0x28]
mov qword [rcx + 0x28], rax
add rcx, 0x30
add rdx, 0x30
call fcn.1400087e0
mov eax, dword [rdi + 0x50]
mov dword [rsi + 0x50], eax
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x38], rbx
mov rax, qword [rdi + 0x58]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rdi + 0x60]
call fcn.140028cc0
nop
vmovsd xmm0, qword [rdi + 0x80]
vmovsd qword [rbx + 0x28], xmm0
vmovsd xmm0, qword [rdi + 0x88]
vmovsd qword [rbx + 0x30], xmm0
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x38], eax
vmovsd xmm0, qword [rdi + 0x94]
vmovsd qword [rbx + 0x3c], xmm0
vmovsd xmm0, qword [rdi + 0x9c]
vmovsd qword [rbx + 0x44], xmm0
mov eax, dword [rdi + 0xa4]
mov dword [rbx + 0x4c], eax
vmovsd xmm0, qword [rdi + 0xa8]
vmovsd qword [rbx + 0x50], xmm0
mov eax, dword [rdi + 0xb0]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi + 0xb4]
mov dword [rbx + 0x5c], eax
lea rcx, [rbx + 0x60]
lea rdx, [rdi + 0xb8]
call fcn.1400087e0
mov eax, dword [rdi + 0xd8]
mov dword [rbx + 0x80], eax
vmovsd xmm0, qword [rdi + 0xdc]
vmovsd qword [rbx + 0x84], xmm0
vmovups xmm0, xmmword [rdi + 0xe8]
vmovups xmmword [rbx + 0x90], xmm0
mov eax, dword [rdi + 0xf8]
mov dword [rbx + 0xa0], eax
mov eax, dword [rdi + 0xfc]
mov dword [rbx + 0xa4], eax
mov eax, dword [rdi + 0x100]
mov dword [rbx + 0xa8], eax
mov eax, dword [rdi + 0x104]
mov dword [rbx + 0xac], eax
mov eax, dword [rdi + 0x108]
mov dword [rbx + 0xb0], eax
mov eax, dword [rdi + 0x10c]
mov dword [rbx + 0xb4], eax
mov eax, dword [rdi + 0x110]
mov dword [rbx + 0xb8], eax
mov rax, qword [rdi + 0x118]
mov qword [rbx + 0xc0], rax
mov eax, dword [rdi + 0x120]
mov dword [rbx + 0xc8], eax
mov eax, dword [rdi + 0x124]
mov dword [rbx + 0xcc], eax
movzx eax, byte [rdi + 0x128]
mov byte [rbx + 0xd0], al
vmovss xmm0, dword [rdi + 0x130]
vmovss dword [rsi + 0x130], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140029980
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.0x1400299a1
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 0x1400299ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400299d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140029a29
test ecx, ecx
jle 0x140029a09
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 0x140029a29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140029a29
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
invalid
Function at 0x140029a50
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 0x140029a72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140029a81
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 0x140029aa4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140029aa6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140029ae2
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 0x140029b7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140029b1d
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 0x140029b5e
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 0x140029b7e
cmp rbx, rax
ja 0x140029b30
test rbx, rbx
je 0x140029b7e
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
hlt
Function at 0x140029fa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140110340]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140029fcd
xor eax, eax
jmp 0x14002a139
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002a007
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002a007
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 0x14002a139
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002a12c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002a04a
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 0x14002a075
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 0x14002a131
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 0x14002a0e4
sub eax, 1
je 0x14002a0e4
cmp eax, 2
jne 0x14002a12c
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 0x14002a131
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002a112
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 0x14002a12c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002a131
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400dba80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002b340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140110340]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002b413
cmp byte [rcx + 0x71], 0
je 0x14002b413
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14002b40f
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 0x14002b3d4
sub eax, 1
je 0x14002b3d8
cmp eax, 2
jne 0x14002b40f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dba80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002b406
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 0x14002b40f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002b3bc
xor al, al
jmp 0x14002b3bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dba80
add rsp, 0x60
pop rbx
ret

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

Disassembly:
mov eax, 0x13e8
call fcn.1400dcc60
sub rsp, rax
vmovaps xmmword [rsp + 0x13d0], xmm6
vmovaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x140110340]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
vmovaps xmm7, xmm1
vmovaps xmm6, xmm0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
mov r9d, 0x270
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x14002c1e0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14002c210
mov eax, dword [rsp + 0x20]
vsubss xmm0, xmm7, xmm6
vxorps xmm1, xmm1, xmm1
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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
vcvtsi2ss xmm1, xmm1, rax
vmulss xmm2, xmm1, xmm0
vmovaps xmm0, xmm6
vfmadd231ss xmm0, xmm2, dword [0x1400f5278]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400dba80
vmovaps xmm6, xmmword [rsp + 0x13d0]
vmovaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140036130
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140110340]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400361a0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14003621c
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400361cb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400dcc60
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14003621c
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14003621f
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x14003622c
mov rcx, qword [rdi]
sub rcx, rbx
nop
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140036242
inc rbx
test eax, eax
jne 0x140036230
mov rcx, rsi
test edx, edx
je 0x140036270
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140036191
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400060a0
xor eax, eax
jmp 0x140036285
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp + 0x28]
mov rcx, rdi
call fcn.1400060a0
mov rax, rbx
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400dba80
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret