joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180043c98
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180043cc8
xor eax, eax
jmp 0x180043d8b
mov rbp, rbx
cmp word [rax], si
je 0x180043ced
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180043cd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180043cd0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180042380
movsxd r14, eax
test eax, eax
jne 0x180043d2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180043cc1
mov rcx, r14
call fcn.18003b4cc
mov rdi, rax
test rax, rax
jne 0x180043d44
xor ecx, ecx
call fcn.18003a6d8
jmp 0x180043d20
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180042380
test eax, eax
jne 0x180043d75
mov rcx, rdi
call fcn.18003a6d8
jmp 0x180043d7f
xor ecx, ecx
call fcn.18003a6d8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180047bac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180038a0c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180047c4d
cmp ebx, dword [rsp + 0x30]
je 0x180047c46
test esi, esi
je 0x180047c46
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180047c21
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180047c2e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180047c0b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180047c32
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180047c4f
mov eax, 1
jmp 0x180047c4f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18004b77c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.18002a4e8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18004b806
cmp byte [rbp - 0x21], r15b
je 0x18004b801
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18004b83c
call fcn.18003a9dc
test eax, eax
jne 0x18004b828
cmp byte [rbp - 0x21], r15b
je 0x18004b820
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18004b83c
cmp byte [rbp - 0x21], r15b
je 0x18004b839
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.180036800
test eax, eax
jne 0x18004b8dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18002a4e8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18004b87b
cmp byte [rbp - 0x21], r15b
je 0x18004b8b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18004b8b0
call fcn.18003a9dc
test eax, eax
jne 0x18004b89c
cmp byte [rbp - 0x21], r15b
je 0x18004b895
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18004b8b0
cmp byte [rbp - 0x21], r15b
je 0x18004b8ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.180036800
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18004b8dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18004b8df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18004b8ed
mov rcx, rdi
call fcn.18003a6d8
cmp byte [rbp + 0x3f], r15b
je 0x18004b8fc
mov rcx, qword [rbp + 0x27]
call fcn.18003a6d8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18004bb04
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18004109c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18004109c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18004bc54
cmp rax, 0xffffffffffffffff
je 0x18004bc54
xor edi, edi
test rbp, rbp
jle 0x18004bbff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180038464
mov rbx, rax
test rax, rax
jne 0x18004bb8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18004bbf5
mov edx, 0x8000
mov ecx, r14d
call fcn.18004b988
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18003f700
cmp eax, 0xffffffff
je 0x18004bbd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18004bb9c
mov edx, r15d
mov ecx, r14d
call fcn.18004b988
jmp 0x18004bbf5
cmp byte [rsi + 0x38], dil
je 0x18004bbec
cmp dword [rsi + 0x34], 5
jne 0x18004bbec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18004bbf5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18003a6d8
jmp 0x18004bc68
jns 0x18004bc68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18004109c
cmp rax, 0xffffffffffffffff
jne 0x18004bc20
cmp byte [rsi + 0x30], dil
je 0x18004bc68
mov edi, dword [rsi + 0x2c]
jmp 0x18004bc68
mov ecx, r14d
call fcn.180048598
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18004bc68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18004bc68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18004bc61
mov eax, dword [rsi + 0x2c]
jmp 0x18004bc66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18004109c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800095d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800095fa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x12]
xor dl, byte [rcx + 0x11]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800095e0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18000a7c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18000a7ea
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x15]
xor dl, byte [rcx + 0x14]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18000a7d0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180010480
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800104aa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x13]
xor dl, byte [rcx + 0x12]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180010490
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180017300
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18001732a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x18]
xor dl, byte [rcx + 0x17]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180017310
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18001c110
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18001c13a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xa]
xor dl, byte [rcx + 9]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18001c120
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180035020
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18003504a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 9]
xor dl, byte [rcx + 8]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180035030
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18003e770
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18003e79a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x16]
xor dl, byte [rcx + 0x15]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18003e780
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180044a50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180044a7a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1b]
xor dl, byte [rcx + 0x1a]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180044a60
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18004e440
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18004e46a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1a]
xor dl, byte [rcx + 0x19]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18004e450
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x18004e480
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18004e4aa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x19]
xor dl, byte [rcx + 0x18]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18004e490
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800615d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800615fa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1c]
xor dl, byte [rcx + 0x1b]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800615e0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180065590
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800655ba
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1f]
xor dl, byte [rcx + 0x1e]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800655a0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18006f260
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18006f28a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 8]
xor dl, byte [rcx + 7]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18006f270
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180088020
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18008804a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1d]
xor dl, byte [rcx + 0x1c]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180088030
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18008f070
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 0x18008f0cd
lea rbx, [0x180127180]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18008f0b4
cmp r10, 2
jb 0x18008f0b4
cmp byte [r9], r8b
jne 0x18008f0b4
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 0x18008f090
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18008f10f
lea rbx, [0x180127180]
cmp r8b, 0x23
jne 0x18008f0f3
cmp byte [r9], r8b
jne 0x18008f0f3
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 0x18008f0e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18008f250
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18008f26a
mov qword [r8], 0
lea rdx, [0x18012c42c]
call fcn.18008f120
mov rbx, rax
test rax, rax
jne 0x18008f28a
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 0x18008f361
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 0x18008f361
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18008f361
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 0x18008f361
cmp rdi, 0xffffffffffffffff
je 0x18008f361
mov rax, qword [0x180142a00]
test rax, rax
je 0x18008f2fe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18008f361
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 0x18008f34e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180142a00]
test rax, rax
je 0x18008f343
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18008f36a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18008f35c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18008f36c
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 0x180091930
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180127180]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x180142a00]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1800919c6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1800a3ab0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180096f40
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180096f90
lea r11, [0x180127180]
nop dword [rax]
cmp r9b, 0x23
jne 0x180096f73
cmp byte [r8], r9b
jne 0x180096f73
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180096f60
mov rcx, qword [0x180142a00]
not eax
movsxd rdx, dword [rcx + 0x3e80]
mov r9, qword [rcx + 0x3e88]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180096ff1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180096fe9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180096fec
mov rdx, r8
test rdx, rdx
jne 0x180096fc0
cmp r9, r10
je 0x180097000
cmp dword [r9], eax
jne 0x180097000
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x1800a26b0
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 + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800a2757
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800a270a
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.1800a45f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18008f810
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18014292c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800a275f
mov rcx, rbx
call fcn.18008f810
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800a2cd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180142a00]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800a2d33
mov qword [rsp], rbx
lea rbx, [0x180127180]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800a2d13
cmp byte [r8], r9b
jne 0x1800a2d13
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 0x1800a2d00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800a2d67
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800a2d6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800a2d54
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 0x1800c2da0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x180142374]
mov ecx, 4
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x1801430a0], eax
jle 0x1800c2e05
lea rcx, [0x1801430a0]
call fcn.18011e0cc
cmp dword [0x1801430a0], 0xffffffff
jne 0x1800c2e05
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x1801430b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [0x1801430a0]
call fcn.18011e060
mov eax, dword [rbx]
cmp dword [0x1801430a4], eax
jle 0x1800c2e49
lea rcx, [0x1801430a4]
call fcn.18011e0cc
cmp dword [0x1801430a4], 0xffffffff
jne 0x1800c2e49
lea r8, [0x18012ce18]
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x1801430b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [0x1801430a4]
call fcn.18011e060
mov eax, dword [rbx]
cmp dword [0x1801431b4], eax
jle 0x1800c2e88
lea rcx, [0x1801431b4]
call fcn.18011e0cc
cmp dword [0x1801431b4], 0xffffffff
jne 0x1800c2e88
lea rcx, [0x1801430b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x1801431b4]
mov qword [0x180143098], rax
call fcn.18011e060
mov rcx, qword [0x180143098]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GetProcAddress]
Function at 0x1800c96d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800c96fa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x21]
xor dl, byte [rcx + 0x20]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800c96e0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x1800c9710
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800c973a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x20]
xor dl, byte [rcx + 0x1f]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800c9720
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800cc010
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [0x180141030]
xor rax, rsp
mov qword [rsp + CDialog::~CDialog], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 4
mov dword [rsp + 0x44], 0x27274025
xor r14d, r14d
mov dword [rsp + 0x40], edx
mov eax, r14d
mov dword [rsp + 0x48], 0xe50ef3
mov r8b, 0xe
mov r9b, 0xe5
mov ecx, eax
lea rdx, [rsp + 0x44]
add rdx, rcx
inc eax
movzx ecx, byte [rdx]
sub cl, r9b
xor cl, r8b
mov byte [rdx], cl
mov edx, dword [rsp + 0x40]
cmp eax, edx
jae 0x1800cc09d
movzx r9d, byte [rsp + 0x4a]
movzx r8d, byte [rsp + 0x49]
jmp 0x1800cc070
mov byte [rsp + rdx + 0x44], r14b
lea r9, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x44]
mov dword [rsp + 0x20], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov r9d, ebp
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.18011e910
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.18011e910
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rdi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.18011e040
add rsp, 0x460
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800cc1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19a34f0]
call fcn.18008bbc0
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x1954de4]
call fcn.18008bbf0
test ebx, ebx
jne 0x1800cc1f9
test al, al
jne 0x1800cc1f9
cmp byte [0x180142af8], al
jne 0x1800cc1f9
mov ecx, dword [0x1801429a4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret