joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422a20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
movzx rbx, word [rax]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 2]
mov word [rbp + 0x3c], ax
mov rax, qword [rbp + 0x28]
movzx rsi, word [rax + 4]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 6]
mov word [rbp + 0x3e], ax
mov qword [rbp + 0x30], rdx
mov r13d, 1
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov ebx, eax
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
movzx rax, word [rbp + 0x3c]
add ax, word [rcx]
mov word [rbp + 0x3c], ax
add rcx, 2
mov qword [rbp + 0x30], rcx
add si, word [rcx]
add rcx, 2
mov qword [rbp + 0x30], rcx
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov word [rbp + 0x3e], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov edi, ebx
xor di, si
mov rcx, rbp
mov edx, edi
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov edi, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
movzx rcx, word [rbp + 0x3e]
xor ax, cx
mov ecx, edi
add cx, ax
mov eax, ecx
mov rcx, rbp
mov edx, eax
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
add di, ax
xor bx, ax
movzx rcx, word [rbp + 0x3e]
xor cx, di
mov word [rbp + 0x3e], cx
movzx rcx, word [rbp + 0x3c]
xor di, cx
xor si, ax
mov word [rbp + 0x3c], si
mov esi, edi
add r13d, 1
cmp r13d, 9
jne 0x422a67
nop
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov ebx, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov word [rax], bx
mov rax, qword [rbp + 0x30]
add si, word [rax]
mov rax, qword [rbp + 0x28]
mov word [rax + 2], si
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
mov rcx, qword [rbp + 0x30]
add ax, word [rcx]
mov rcx, qword [rbp + 0x28]
mov word [rcx + 4], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.004229d0
mov rcx, qword [rbp + 0x28]
mov word [rcx + 6], ax
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x422cd0
Capabilities:
Manipulate console buffer

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle_1
mov rbx, rax
mov rcx, rbx
lea rdx, [rsp + 0x2a]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
mov esi, 1
movsx rdi, word [rsp + 0x2c]
cmp esi, edi
jg 0x422d28
add edi, 1
mov rcx, qword [0x0042c708]
xor rdx, rdx
call fcn.00406ab0
mov rcx, rax
call fcn.00406c20
call fcn.00404df0
add esi, 1
cmp esi, edi
jne 0x422d05
nop
mov word [rsp + 0x26], 0
mov word [rsp + 0x28], 0
mov rcx, rbx
mov edx, dword [rsp + 0x26]
call sub.kernel32.dll_SetConsoleCursorPosition
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x422d50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
xor rsi, rsi
mov dword [rbp + 0x34], 0xff
mov rcx, 0xffffffff80000002
lea rdx, [0x00422e58]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x422e30
mov rcx, qword [rbp + 0x238]
lea rdx, [0x00422e98]
xor r8, r8
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x34]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x422dd0
mov sil, 1
jmp 0x422e30
mov rcx, 0xffffffff80000002
lea rdx, [0x00422e58]
xor r8, r8
mov r9d, 0x20119
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x422e30
mov rcx, qword [rbp + 0x238]
lea rdx, [0x00422e98]
xor r8, r8
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x34]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x422e30
mov sil, 1
test sil, sil
je 0x422e48
mov rcx, rbx
lea rdx, [rbp + 0x38]
mov r8d, pe_nt_image_headers64
call fcn.0040aac0
mov rax, rbx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rbp
ret

Function at 0x422eb0
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x422eb7
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x422f01
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x422f33
test eax, eax
je 0x422f65
sub eax, 1
test eax, eax
jne 0x422fbe
jmp 0x422fa5
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a060
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041a0e0
jmp 0x422fbe
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a060
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041a0e0
jmp 0x422fbe
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.00405130
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041a940
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00420ac0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.0040a2b0
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.00409ef0
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret
Function at 0x423030
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x120], rcx
nop
lea rcx, [rbp + 0xe8]
mov edx, 0x18
xor r8, r8
call fcn.00405a00
lea rcx, [rbp + 0x80]
mov edx, 0x68
xor r8, r8
call fcn.00405a00
mov dword [rbp + 0x80], 0x68
mov dword [rbp + 0xe8], 0x18
mov dword [rbp + 0xbc], 1
mov word [rbp + 0xc0], 0
mov byte [rbp + 0x67], 0
mov dword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0x120]
call fcn.0040aa10
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xe8]
lea r9, [rbp + 0xe8]
cmp byte [rbp + 0x67], 0
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x42315d
lea rcx, [rbp + 0x108]
lea rdx, [0x00422c80]
call fcn.0040de60
nop
mov rcx, qword [0x0042c708]
mov rdx, qword [rbp + 0x108]
call fcn.00406ab0
mov rcx, rax
call fcn.00406c20
call fcn.00404df0
nop
lea rcx, [rbp + 0x108]
call fcn.00409e10
jmp 0x42318b
mov rcx, qword [rbp + 0x68]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x104]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x108]
call fcn.00409e10
mov eax, dword [rbp + 0x104]
lea rsp, [rbp + 0x110]
pop rbp
ret

Function at 0x4236d0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00409fa0
nop
mov rcx, qword [rbp + 0x68]
call fcn.0040aa10
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x102
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x50], rax
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax + 0x58]
mov rax, qword [rbp + 0x60]
mov r8d, dword [rax + 0x60]
mov rax, qword [rbp + 0x60]
lea r9, [rax + 0x4c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x50]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00409e10
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x180001b30
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180001b76
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180001b72
mov al, 1
jmp 0x180001b76
jmp 0x180001b76
add rsp, 0x20
pop rbx
ret

Function at 0x180001c60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x180001c87
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.180001b30
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180001b80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180008050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800080ad
lea rbx, [0x18004e0b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180008094
cmp r10, 2
jb 0x180008094
cmp byte [r9], r8b
jne 0x180008094
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180008070
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800080ef
lea rbx, [0x18004e0b0]
cmp r8b, 0x23
jne 0x1800080d3
cmp byte [r9], r8b
jne 0x1800080d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800080c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180008250
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000826a
mov qword [r8], 0
lea rdx, [0x180053410]
call fcn.180008100
mov rbx, rax
test rax, rax
jne 0x18000828a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180008375
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180008375
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180008375
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180008375
cmp rdi, 0xffffffffffffffff
je 0x180008375
mov rax, qword [0x180060fa8]
test rax, rax
je 0x180008306
inc dword [rax + 0xf4]
mov rdx, qword [0x180060e98]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180008375
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180008362
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180060fa8]
test rax, rax
je 0x180008351
dec dword [rax + 0xf4]
mov rdx, qword [0x180060e98]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18000837e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180008370
mov qword [r14], rdi
mov rax, rsi
jmp 0x180008380
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180009f50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x18004e0b0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180009fe6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001c250
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180015d20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180060010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180060fa8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x180015d81
cmp byte [rbx + 0x4a56], 0
jne 0x180015d81
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180007f40
test dil, 1
je 0x180015eaf
jmp 0x180015e0a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180055928]
mulss xmm1, dword [0x180055914]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1800558a8]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180007f40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180015e60
lea r11, [0x18004e0b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180015e43
cmp byte [r8], r9b
jne 0x180015e43
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 0x180015e30
not ecx
call fcn.18000d720
test rax, rax
je 0x180015eaf
cmp byte [rax + 0xb6], 0
je 0x180015eaf
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 + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.180007f40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000fe30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180046920
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001ab20
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 + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001abc7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001ab7a
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.18001ce20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800086d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180060fa4]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001abcf
mov rcx, rbx
call fcn.1800086d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001b070
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180060fa8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001b0d3
mov qword [rsp], rbx
lea rbx, [0x18004e0b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001b0b3
cmp byte [r8], r9b
jne 0x18001b0b3
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 0x18001b0a0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001b107
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001b10e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001b0f4
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 0x18001b390
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180060fa8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x18001b3ff
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18001b410
lea rdx, [0x180053414]
mov rcx, rbx
mov rdi, rax
call fcn.180008100
mov rbx, rax
test rax, rax
je 0x18001b3fa
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18002d050
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x180060fa8]
mov edx, 0x210
call fcn.180012b70
cmp byte [rax], 0
je 0x18002d0c6
xor edx, edx
mov ecx, 0x210
call fcn.1800150b0
test al, al
je 0x18002d0c6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d0c6
mov rbx, qword [0x180060fa8]
cmp byte [rbx + 0x37b9], 0
je 0x18002d0b2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180007c00
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x180060fa8]
mov edx, 0x214
call fcn.180012b70
cmp byte [rax], 0
je 0x18002d136
xor edx, edx
mov ecx, 0x214
call fcn.1800150b0
test al, al
je 0x18002d136
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d136
mov rbx, qword [0x180060fa8]
cmp byte [rbx + 0x37b9], 0
je 0x18002d122
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180007c00
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x180060fa8]
mov edx, 0x212
call fcn.180012b70
cmp byte [rax], 0
je 0x18002d1a6
xor edx, edx
mov ecx, 0x212
call fcn.1800150b0
test al, al
je 0x18002d1a6
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d1a6
mov rbx, qword [0x180060fa8]
cmp byte [rbx + 0x37b9], 0
je 0x18002d192
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180007c00
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x180060fa8]
mov edx, 0x216
call fcn.180012b70
cmp byte [rax], 0
je 0x18002d216
xor edx, edx
mov ecx, 0x216
call fcn.1800150b0
test al, al
je 0x18002d216
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d216
mov rbx, qword [0x180060fa8]
cmp byte [rbx + 0x37b9], 0
je 0x18002d202
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180007c00
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180031b50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180060010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r9d, r8d
mov r10, rdx
mov r8, rcx
lea rbx, [rcx + 0x35d8]
cmp byte [rcx + 0x3be4], 0
jne 0x180031bca
mov word [rcx + 0x3be5], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x28], rax
mov byte [rcx + 0x3be8], al
movzx eax, byte [rsp + 0x29]
mov byte [rcx + 0x3be9], al
movzx eax, byte [rsp + 0x2a]
mov byte [rcx + 0x3bea], al
movzx eax, byte [rsp + 0x2b]
mov byte [rcx + 0x3beb], al
mov byte [rcx + 0x3bec], 0
mov byte [rcx + 0x3be4], 1
mov dword [rsp + 0x20], r9d
mov eax, dword [rcx + 0x3be8]
mov dword [rsp + 0x28], eax
movzx eax, byte [rcx + 0x3be5]
test al, al
je 0x180031c04
xor ecx, ecx
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rsp + rcx + 0x28]
not eax
xor dword [rsp + rcx + 0x20], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180031bf0
movzx eax, byte [r8 + 0x3be6]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180031c34
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x28]
not al
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x180031c20
movzx eax, byte [r8 + 0x3bec]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x20]
mov dword [r8 + rcx*4 + 0x3bf0], eax
mov byte [r8 + 0x3bec], cl
mov dword [rbx + 0x38], r9d
mov r8, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r11
test cl, cl
jne 0x180031c80
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180031cba
lea eax, [r9 - 0x1d]
cmp eax, 7
ja 0x180031d2f
mov byte [rbx + 0x9c], cl
jmp 0x180031d62
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180031cde
lea eax, [r9 - 0x1a]
cmp eax, 6
ja 0x180031d2f
mov byte [rbx + 0x9c], 0
jmp 0x180031d62
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180031cf3
cmp r9d, 0x10
jmp 0x180031d06
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180031d11
cmp r9d, 6
jne 0x180031d2f
mov byte [rbx + 0x9c], 0
jmp 0x180031d62
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180031d50
cmp rdx, rax
je 0x180031d50
cmp byte [rbx + 0x9c], 0xff
je 0x180031d62
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180031d62
mov byte [rbx + 0x9c], 0xff
jmp 0x180031d62
cmp r9d, 7
jne 0x180031d8b
cmp rdx, rcx
je 0x180031d96
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x188b80
mov dl, 1
mov rcx, rbx
call rax
nop
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180046920
add rsp, 0x40
pop rbx
ret
cmp r9d, 6
jne 0x180031d5b
cmp rdx, rax
jne 0x180031d5b
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov r8d, r9d
mov rdx, r10
mov rcx, rbx
call fcn.180031fb0
nop
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180046920
add rsp, 0x40
pop rbx
ret