joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007050
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x20], 1
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [r8 + 0x10], r14
je 0x1400071f1
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400071e7
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140007101
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x38]
call fcn.140001c60
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000712b
mov rax, qword [rsi]
lea r8, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsi + 0x10]
jne 0x14000716d
test rdx, rdx
je 0x140007169
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14000716d
add rax, 2
sub rdx, 1
jne 0x140007155
mov bl, 1
jmp 0x14000716f
xor bl, bl
cmp r10, 7
jbe 0x1400071aa
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400071a2
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007224
mov rcx, r9
call fcn.14004b58c
test bl, bl
je 0x1400071d2
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400071c5
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400071d2
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140001d90
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400070e0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.140003250
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14004b530
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x140009ab0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], rbx
xor r15d, r15d
lea r12, [rsp + 0x138]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r12
mov r14, qword [r12]
xor r14, r13
mov qword [rsp + 0x38], r14
mov qword [r12], r15
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140009b32
mov rax, qword [rdx]
mov word [rsp + 0x6b], 0x4c
mov word [rsp + 0x68], 0x554e
mov byte [rsp + 0x6a], 0x4c
mov byte [rsp + 0x6d], 0
mov rdx, rbx
cmp qword [r9 + 0x18], 0xf
jbe 0x140009b57
mov rdx, qword [r9]
mov rcx, rdi
cmp qword [r8 + 0x18], 0xf
jbe 0x140009b64
mov rcx, qword [r8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140009ba0
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.140001b50
nop
xor r14, r13
mov qword [r12], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140009bf9
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140009bf4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009cbd
mov rcx, r8
call fcn.14004b58c
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140009c42
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140009c3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009cc4
mov rcx, r8
call fcn.14004b58c
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009c87
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009c82
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009ccb
mov rcx, r8
call fcn.14004b58c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14004b530
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009ce0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov rcx, qword [0x140086eb8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140086eb8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x140086eb8]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140009d6a
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.140018e50
lea rcx, [rsp + 0x30]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xf0], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xf4], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009dd2
mov byte [rbx + 0xf8], 1
mov eax, dword [rbx + 0xf4]
mov dword [rbx + 0x2ac0], eax
mov byte [rbx + 0x2b10], 1
jmp 0x140009dd9
mov byte [rbx + 0xf8], 0
mov rcx, qword [0x140086ea8]
xor r8d, r8d
cmp byte [0x14005f0c0], r8b
mov rax, qword [rcx]
je 0x140009df6
mov edx, 1
jmp 0x140009df8
xor edx, edx
call qword [rax + 0x40]
call fcn.14003d860
call fcn.14003e790
call fcn.14001f9f0
mov rcx, qword [0x140086c98]
call fcn.140003660
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140009e37
cmp byte [0x140086ec0], 0
sete al
mov byte [0x140086ec0], al
jmp 0x140009e3e
movzx eax, byte [0x140086ec0]
test al, al
je 0x140009e4a
mov rcx, rdi
call fcn.140009170
call fcn.1400215f0
mov rcx, qword [0x140086ea0]
lea r8, [0x140086eb0]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x68], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x140086ea0]
lea r8, [rsp + 0x68]
mov rdx, qword [0x140086eb0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140018ae0
mov rcx, rax
call fcn.14003d8a0
cmp dword [rsp + 0x40], 0x12
jne 0x140009d11
call fcn.14003e510
call fcn.14003eaa0
xor ecx, ecx
call fcn.140016890
mov rcx, qword [0x140086eb8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004b530
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140014430
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140086ed0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4d6d], 0
jne 0x140014498
cmp byte [rbx + 0x4d6e], 0
jne 0x140014498
movsx r9d, word [rbx + 0x5ed8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140019bb0
test sil, 2
je 0x1400145d0
jmp 0x140014531
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004ff64]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004ff4c]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
or dword [rbx + 0x4a48], 1
mov qword [rbx + 0x4a60], rax
movss dword [rbx + 0x4a58], xmm0
mov dword [rbx + 0x4a4c], 1
movss dword [rbx + 0x4a5c], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mov rax, qword [0x140086ed0]
mulss xmm0, dword [0x140051f50]
or dword [rax + 0x4a48], 0x40
movss dword [rax + 0x4aa8], xmm0
movsx r9d, word [rbx + 0x5ed8]
call fcn.140019bb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014581
lea r11, [0x1400501f0]
cmp r9b, 0x23
jne 0x140014564
cmp byte [r8], r9b
jne 0x140014564
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 0x140014551
not ecx
call fcn.1400180b0
test rax, rax
je 0x1400145d0
cmp byte [rax + 0xbe], 0
je 0x1400145d0
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5ed8]
movsx r9d, word [rbx + 0x5ed8]
call fcn.140019bb0
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400115d0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004b530
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140018010
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140086ed0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018073
mov qword [rsp], rbx
lea rbx, [0x1400501f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018053
cmp byte [r8], r9b
jne 0x140018053
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 0x140018040
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fa0]
not eax
mov r8, qword [r10 + 0x5fa8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001809f
cmp dword [r8 + 8], eax
je 0x1400180a6
add r8, 0x48
cmp r8, rcx
jne 0x140018090
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140018130
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140018180
lea r11, [0x1400501f0]
cmp r9b, 0x23
jne 0x140018163
cmp byte [r8], r9b
jne 0x140018163
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 0x140018150
not ecx
jmp fcn.1400180b0

Function at 0x140018b30
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1400501f0]
mov rax, qword [rcx + 0x108]
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
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x408c], ebx
jne 0x140018bcb
mov r8, r10
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.1400160b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140018c60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x1400501f0]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x1400198d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400198eb
mov qword [r8], 0
call fcn.1400199f0
mov rbx, rax
test rax, rax
jne 0x140019901
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400199cb
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400199cb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400199cb
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 0x1400199cb
cmp rdi, 0xffffffffffffffff
je 0x1400199cb
lea rcx, [rdi + rbp]
call fcn.14001bca0
mov rsi, rax
test rax, rax
je 0x1400199cb
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]
cmp rax, rdi
je 0x1400199a3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.14001bd50
jmp 0x1400199d4
test ebp, ebp
jle 0x1400199b5
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400199c6
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400199d6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140019f40
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 0x140019f9d
lea rbx, [0x1400501f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019f84
cmp r10, 2
jb 0x140019f84
cmp byte [r9], r8b
jne 0x140019f84
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 0x140019f60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019fdf
lea rbx, [0x1400501f0]
cmp r8b, 0x23
jne 0x140019fc3
cmp byte [r9], r8b
jne 0x140019fc3
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 0x140019fb0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001bb90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6030], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14001bc13
xor edx, edx
add rcx, 0x6038
call fcn.14002acf0
mov r8, rsi
lea rcx, [rbx + 0x6038]
mov rdx, rbp
call fcn.14002a3f0
mov eax, dword [rbx + 0x6038]
xor edx, edx
mov r9, qword [rbx + 0x6030]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6040]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x140086ed8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14001bc1f
add rcx, 0x6038
call fcn.14002a3f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400244e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140086ed0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f8c], ecx
test rbx, rbx
je 0x14002454f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140024560
lea rdx, [0x140051d74]
mov rcx, rbx
mov rdi, rax
call fcn.1400199f0
mov rbx, rax
test rax, rax
je 0x14002454a
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 0x14003f010
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140018a80
test rax, rax
je 0x14003f02e
call fcn.140018e50
mov rbx, qword [rax + 0x88]
jmp 0x14003f030
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003f05b
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret

Function at 0x14004c288
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004c2d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004c2d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004c2d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004c2d2
cmp dword [rcx + 0x84], 0xe
jbe 0x14004c2d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004c2d4
xor al, al
add rsp, 0x28
ret
Function at 0x140021340
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 0x14002139d
lea rbx, [0x140090630]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140021384
cmp r10, 2
jb 0x140021384
cmp byte [r9], r8b
jne 0x140021384
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 0x140021360
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400213df
lea rbx, [0x140090630]
cmp r8b, 0x23
jne 0x1400213c3
cmp byte [r9], r8b
jne 0x1400213c3
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 0x1400213b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140021520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002153a
mov qword [r8], 0
lea rdx, [0x140095aac]
call fcn.1400213f0
mov rbx, rax
test rax, rax
jne 0x14002155a
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 0x140021633
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021633
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140021633
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 0x140021633
cmp rdi, 0xffffffffffffffff
je 0x140021633
mov rax, qword [0x1400d9270]
test rax, rax
je 0x1400215d0
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140021633
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 0x140021620
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d9270]
test rax, rax
je 0x140021615
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002163c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002162e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002163e
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