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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140068028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140068ed0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x140019ec1
cmp byte [rbx + 0x4a9e], 0
jne 0x140019ec1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140009540
test dil, 1
je 0x140019fef
jmp 0x140019f49
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x14005e508]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x14005e51c]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x14005e458]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.140009540
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019fa0
lea r11, [0x140058c40]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019f83
cmp byte [r8], r9b
jne 0x140019f83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140019f70
not ecx
call fcn.140010ef0
test rax, rax
je 0x140019fef
cmp byte [rax + 0xb6], 0
je 0x140019fef
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140009540
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400136c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140051a60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001fe70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ff17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001feca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140022280
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000a090
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140068d24]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ff1f
mov rcx, rbx
call fcn.14000a090
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020390
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140068ed0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400203f3
mov qword [rsp], rbx
lea rbx, [0x140058c40]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400203d3
cmp byte [r8], r9b
jne 0x1400203d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400203c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140020427
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002042e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140020414
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140052734
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005277e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005277e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005277e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005277e
cmp dword [rcx + 0x84], 0xe
jbe 0x14005277e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140052780
xor al, al
add rsp, 0x28
ret
Function at 0x1400044d4
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x70
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
jne 0x140004503
xorps xmm0, xmm0
lea rbx, [r11 - 0x28]
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
mov rax, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x604
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004548
xor eax, eax
jmp 0x1400045d2
mov rdi, qword [rsp + 0xd0]
lea rdx, [rsp + 0x98]
mov rcx, qword [rbx]
mov qword [rsp + 0x98], rdi
call fcn.140003a94
test eax, eax
jne 0x1400045b0
mov r9, qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea r8, [rsp + 0x98]
mov ecx, dword [rbx + 0x10]
mov qword [rsp + 0x98], rdi
call fcn.1400042d0
test eax, eax
jne 0x1400045b0
mov rcx, qword [rbx]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004541
lea rcx, [rsp + 0x50]
cmp rbx, rcx
jne 0x1400045cd
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0xa320b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xa320bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa320cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa320b5
lea eax, [rcx + 1]
jmp 0xa320db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa320ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa320d4
sub eax, 3
jb 0xa3210e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa3215d
sar eax, 1
movsxd rbp, eax
jb 0xa32144
jmp 0xa3211c
add ebx, ebx
jne 0xa3211a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa32144
inc ecx
add ebx, ebx
jne 0xa3212a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa32144
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa3213d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa3212c
add ecx, 2
jmp 0xa32149
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a32072
jmp 0xa320bd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x354c00
mov dl, 0x47
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa321ad
cmp rsi, rcx
jae 0xa321b5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa32194
cmp al, 0x8f
ja 0xa32194
cmp byte [rsi - 2], 0xf
je 0xa3219a
sub al, 0xe8
cmp al, 1
ja 0xa3217e
cmp rsi, rcx
jae 0xa321b5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa32184
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa321b5
lodsb al, byte [rsi]
jmp 0xa32194
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x624000]
mov eax, dword [rdi]
or eax, eax
je 0xa32212
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x632428]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xa321c2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xa3220c
mov qword [rbx], rax
add rbx, 8
jmp 0xa321e2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa32256
cmp al, 0xef
ja 0xa3223e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa3221e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xa3222d
mov eax, dword [rdi]
add rdi, 4
jmp 0xa3222d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.00a322d5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00a322d5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa322c5
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x29d1440
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x29d144d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x29d145d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x29d1445
lea eax, [rcx + 1]
jmp 0x29d146b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x29d147e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x29d1464
sub eax, 3
jb 0x29d149e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x29d14ed
sar eax, 1
movsxd rbp, eax
jb 0x29d14d4
jmp 0x29d14ac
add ebx, ebx
jne 0x29d14aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x29d14d4
inc ecx
add ebx, ebx
jne 0x29d14ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x29d14d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x29d14cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x29d14bc
add ecx, 2
jmp 0x29d14d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.029d1402
jmp 0x29d144d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x25a2000]
mov eax, dword [rdi]
or eax, eax
je 0x29d1549
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x25daed4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x29d14f9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x29d1543
mov qword [rbx], rax
add rbx, 8
jmp 0x29d1519
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x29d158d
cmp al, 0xef
ja 0x29d1575
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x29d1555
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x29d1564
mov eax, dword [rdi]
add rdi, 4
jmp 0x29d1564
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x29d15e1
sub rsp, 0xffffffffffffff80
jmp 0x468da0
Function at 0x1c37aa0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1c37aad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1c37abd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1c37aa5
lea eax, [rcx + 1]
jmp 0x1c37acb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1c37ade
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1c37ac4
sub eax, 3
jb 0x1c37afe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1c37b4d
sar eax, 1
movsxd rbp, eax
jb 0x1c37b34
jmp 0x1c37b0c
add ebx, ebx
jne 0x1c37b0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1c37b34
inc ecx
add ebx, ebx
jne 0x1c37b1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1c37b34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1c37b2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1c37b1c
add ecx, 2
jmp 0x1c37b39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01c37a62
jmp 0x1c37aad
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1822000]
mov eax, dword [rdi]
or eax, eax
je 0x1c37ba9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1837000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1c37b59
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1c37ba3
mov qword [rbx], rax
add rbx, 8
jmp 0x1c37b79
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1c37bed
cmp al, 0xef
ja 0x1c37bd5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1c37bb5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1c37bc4
mov eax, dword [rdi]
add rdi, 4
jmp 0x1c37bc4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1c37c41
sub rsp, 0xffffffffffffff80
jmp 0x46c4e0
Function at 0x140067210
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rsi, rcx
mov rcx, qword [0x140116640]
mov rbp, r8
mov rdi, rdx
call fcn.14001bbe0
test rdi, rdi
je 0x1400673b1
cmp word [rdi], 0
je 0x1400673b1
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80
lea r8d, [r9 + 7]
mov rcx, rdi
mov qword [rsp + 0x2b0], rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x2c0], r12
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400672aa
lea rdx, [rsp + 0x2b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140067314
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400672f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140111488]
mov dl, 1
mov dword [rcx + 0x40], eax
mov rcx, rsi
call fcn.14003ec70
mov rbx, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11d, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x60]
shl r11, 0x20
or r11, rax
mov qword [rsp + 0x2b8], r11
movzx ebx, word [rbp]
test ebx, 0xffffff80
jne 0x140067333
mov edx, 2
mov ecx, ebx
call fcn.1400ca588
test eax, eax
je 0x140067333
and ebx, 0xffffffdf
movzx eax, bx
cmp eax, 0x4b
je 0x140067359
cmp eax, 0x4d
jne 0x140067378
mov rax, qword [rsp + 0x2b8]
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
jmp 0x140067370
mov rax, qword [rsp + 0x2b8]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
mov qword [rsp + 0x2b8], rax
mov rax, qword [0x140111488]
xor edx, edx
mov rcx, rsi
mov dword [rax + 0x40], 0
call fcn.14003ec70
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [0x140116640]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
mov eax, 1
jmp 0x1400672d8
mov rax, qword [0x140111488]
mov dl, 1
mov rcx, rsi
mov dword [rax + 0x40], 0x57
call fcn.14003ec70
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078690
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cl
test cl, cl
jne 0x1400786a5
xor al, al
add rsp, 0x20
pop rbx
ret
dec edx
je 0x1400786d0
dec edx
movzx ecx, bl
je 0x1400786b8
call qword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1400786f6
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r11d, ax
and r11d, 1
movzx eax, r11b
add rsp, 0x20
pop rbx
ret
lea eax, [rbx - 1]
cmp al, 5
ja 0x1400786dc
cmp bl, 3
jne 0x1400786e3
lea eax, [rbx + 0x66]
cmp al, 5
ja 0x14007870c
cmp qword [0x140116900], 0
jne 0x14007872e
movzx ecx, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r11d, ax
shr r11d, 0xf
and r11b, 1
movzx eax, r11b
add rsp, 0x20
pop rbx
ret
cmp qword [0x1401168f8], 0
je 0x1400786ed
xor edx, edx
xor r8d, r8d
movzx ecx, bl
call fcn.140019d70
test al, al
je 0x14007872e
mov cl, 1
call fcn.140019b40
lea rcx, [0x1401167f0]
movzx eax, bl
movzx eax, byte [rax + rcx]
shr al, 7
add rsp, 0x20
pop rbx
ret

Function at 0x140078c10
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x230
movzx edi, r8b
mov rbx, rdx
mov esi, ecx
mov r8d, ecx
xor r13d, r13d
mov ecx, 0x410
mov word [rdx], r13w
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x140078c6a
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x140078dbc
xor edx, edx
mov qword [rsp + 0x250], rbp
mov r9d, 0x104
mov r8, rbx
mov rcx, r12
test dil, dil
je 0x140078c8d
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
jmp 0x140078c93
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ebp, eax
test eax, eax
jne 0x140078da9
mov rax, qword [0x1401136c8]
test rax, rax
je 0x140078da9
mov r8d, 0x104
mov rdx, rbx
mov rcx, r12
call rax
mov ebp, eax
test eax, eax
je 0x140078da9
test dil, dil
je 0x140078d08
mov edx, 0x5c
mov rcx, rbx
call fcn.1400cb1ec
mov rdx, rax
test rax, rax
je 0x140078da9
or rcx, 0xffffffffffffffff
mov rdi, rdx
xor eax, eax
repne scasw ax, word [rdi]
add rdx, 2
not rcx
lea r8, [rcx + rcx - 2]
mov rcx, rbx
call fcn.1400c9d20
jmp 0x140078da9
mov eax, 0x41
mov dword [rsp + 0x25a], 0x3a
mov word [rsp + 0x258], ax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x258]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, eax
cmp eax, 2
jbe 0x140078d5e
add edi, 0xfffffffe
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, edi
call fcn.1400cb1c0
test eax, eax
jne 0x140078d5e
cmp word [rbx + rdi*2], 0x5c
je 0x140078d79
movzx eax, word [rsp + 0x258]
inc ax
mov word [rsp + 0x258], ax
cmp ax, 0x5a
jbe 0x140078d20
jmp 0x140078da9
movzx eax, word [rsp + 0x258]
sub ebp, edi
lea rdx, [rbx + rdi*2]
mov word [rbx], ax
movzx eax, word [rsp + 0x25a]
lea r8d, [rbp + 1]
lea rcx, [rbx + 4]
add r8, r8
mov word [rbx + 2], ax
call fcn.1400c9d20
add ebp, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rbp, qword [rsp + 0x250]
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1400113e8
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140012470
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1402e30a6]
call fcn.1400113b6
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movzx edx, word [rbp + 0x118]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
movsx eax, byte [rbp + 0x110]
mov edx, eax
lea rcx, [0x14001bffc]
call fcn.1400111b3
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc80]
call fcn.14001133e
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400c2f0f
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140117400
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140117428
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140117472
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14011741d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400c3f68
Capabilities:
Set file attributes

Disassembly:
jmp 0x1400e26b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1402cd0c6]
call fcn.1400c7677
mov rcx, qword [rbp + 0xe0]
call fcn.1400c3d92
mov edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400e2709
mov r9d, 0x10
lea r8, str.Hata
lea rdx, [0x1402600d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400c46a7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140174680
mov rax, rcx
neg rcx
test rax, 7
je 0x14017469d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401746f8
test al, 7
jne 0x140174690
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401746b1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140174722
test dh, dh
je 0x14017471c
shr rdx, 0x10
test dl, dl
je 0x140174716
test dh, dh
je 0x140174710
shr rdx, 0x10
test dl, dl
je 0x14017470a
test dh, dh
je 0x140174704
shr edx, 0x10
test dl, dl
je 0x1401746fe
test dh, dh
jne 0x1401746b1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400c46de
Capabilities:
Query environment variable

Disassembly:
jmp 0x140227dd0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140227950
lea rcx, [rsp + 0x20]
call fcn.1402279a0
movzx eax, al
test eax, eax
jne 0x140227e15
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140227980
mov rax, qword [rsp + 0x40]
jmp 0x140227f0f
lea rcx, [rsp + 0x20]
call fcn.140227aa0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140227a40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400c4a99
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c401c
lea rcx, [rsp + 0x28]
call fcn.1400c4f8a
movzx eax, al
test eax, eax
jne 0x140227eaf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400c64f2
lea rcx, [rsp + 0x20]
call fcn.140227980
mov rax, qword [rsp + 0x50]
jmp 0x140227f0f
lea rcx, [rsp + 0x20]
call fcn.140227aa0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400c757d
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400c49d6
lea rcx, [rsp + 0x28]
call fcn.1400c7f37
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400c64f2
lea rcx, [rsp + 0x20]
call fcn.140227980
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret