joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ff780
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov r9d, 0x20019
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14015a808]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ff808
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [0x14015a708]
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, ebx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], 1
sete al
add rsp, 0x30
pop rbx
ret
Function at 0x140102ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
xor edi, edi
mov dword [rbp + 0x6f], edi
lea rdx, [rbp + 0x17]
call fcn.140100ba0
nop
cmp byte [rbp + 0x37], dil
je 0x140102c18
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov dword [rbp + 0x77], edi
mov dword [rbp + 0x7f], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
lea r8, str.GsShowed
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140102b44
mov dword [rbp - 9], eax
lea rax, [0x1401921e8]
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
mov rdx, qword [rbp + 0xf]
mov ecx, dword [rbp + 7]
jmp 0x140102b4d
mov ecx, edi
lea rdx, [0x1401921c0]
mov rax, qword [0x1401921c8]
cmp qword [rdx + 8], rax
jne 0x140102c37
test ecx, ecx
jne 0x140102c37
cmp dword [rbp + 0x77], 1
jne 0x140102c37
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x140102bd8
mov dword [rbp - 0x19], edi
call fcn.1400057e0
mov qword [rbp - 0x21], rax
lock inc dword [rbp - 0x19]
mov ebx, 1
mov dword [rbp + 0x6f], ebx
lea rcx, [rbp - 0x21]
call fcn.140005740
mov dword [rbp - 0x29], Ordinal_21
lea rcx, str.Bdgs_was_already_showed
mov qword [rsp + 0x28], rcx
lea rcx, str.CSecurityCenterApp::_WasGsShowed
mov qword [rsp + 0x20], rcx
lea r9, [0x140000000]
lea r8, [rbp - 0x29]
movsx edx, di
mov rcx, rax
call fcn.140004bd0
jmp 0x140102bdb
mov ebx, dword [rbp + 0x6f]
test bl, 1
je 0x140102c18
and ebx, 0xfffffffe
mov dword [rbp + 0x6f], ebx
mov qword [rbp - 0x21], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x19], eax
cmp eax, 1
js 0x140102c14
nop dword [rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x19], eax
cmp eax, 1
jns 0x140102c00
lock inc dword [rbp - 0x19]
mov bl, 1
cmp byte [rbp + 0x37], 0
je 0x140102c29
lea rcx, [rbp + 0x17]
call fcn.140002de0
movzx eax, bl
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
xor bl, bl
jmp 0x140102c1a
Function at 0x1401060a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x20], ebx
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea r14, str.CSecurityCenterApp::Quit
mov qword [rbp - 0x10], r14
mov edx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
lea esi, [rbx + 1]
add edx, eax
je 0x14010614b
mov dword [rbp - 0x18], ebx
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], esi
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x14010610f
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov dword [rbp + 0x28], 0x20
mov qword [rsp + 0x30], r14
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, bx
call fcn.140004bd0
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x140106188
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x140106184
nop dword [rax + rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x140106170
lock inc dword [rbp - 0x18]
mov rax, qword [0x140198db8]
cmp eax, 0xffffffff
je 0x1401061a8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x140198db8]
jmp 0x1401061ae
mov ecx, dword [0x140198dbc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x1401061c1
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x140106202
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov rbx, rax
test rax, rax
je 0x140106202
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140106202
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea rcx, str.bdgettingstartedclsname
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140106230
xchg byte [rdi + 0x2f8], sil
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea rcx, str.BdCommFailure_window_class_name
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140106268
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140106268
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x10]
call fcn.14002f940
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140106290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x20], edi
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rsi, str.CSecurityCenterApp::Activate
mov qword [rbp - 0x10], rsi
mov edx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add edx, eax
je 0x140106336
mov dword [rbp - 0x18], edi
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], 1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x1401062fa
call fcn.1400057e0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov dword [rbp + 0x28], 0x20
mov qword [rsp + 0x30], rsi
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, di
call fcn.140004bd0
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x14010636e
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x14010636a
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x140106356
lock inc dword [rbp - 0x18]
mov rax, qword [0x140198db8]
cmp eax, 0xffffffff
je 0x14010638e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x140198db8]
jmp 0x140106394
mov ecx, dword [0x140198dbc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x1401063a7
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1401063ea
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov rbx, rax
test rax, rax
je 0x1401063ea
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401063ea
xor r9d, r9d
xor r8d, r8d
mov edx, 0x412
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x10]
call fcn.14002f940
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010b9b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, ecx
xor ebx, ebx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareBitdefenderInternalCrashEnabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14010b9f3
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x14010bae6
test rbx, rbx
je 0x14010ba09
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
js case.default.0x14010badf
mov edx, Ordinal_20
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140199520], eax
jg 0x14010baff
xor ecx, ecx
mov rdx, qword [0x1401993d0]
lea r8, [0x1401569c8]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14010ba5f
cmp rcx, 8
jne 0x14010ba41
lea r8, [0x14010bc80]
jmp 0x14010ba9d
xor eax, eax
lea r8, [0x140156948]
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x14010ba8b
cmp rax, 8
jne 0x14010ba70
cmp cx, word [r8 + rax*2 - 2]
lea r8, [0x14010bc40]
lea rax, [0x14010bc60]
cmove r8, rax
lea rax, [0x140199524]
xor r9d, r9d
cmp dword [0x140199524], r9d
cmova r9, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je case.default.0x14010badf
mov rcx, rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je case.default.0x14010badf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x140199520]
call fcn.1400721a0
cmp dword [0x140199520], 0xffffffff
jne 0x14010ba31
mov dword [0x140199524], edi
lea rcx, [0x140199520]
call fcn.140072140
jmp 0x14010ba31
adc dword [r8 - 0x30cdb585], edx
nop
jnp 0x1402b28d7
xor cl, bh
xor eax, 0x9176ffff
loope 0x1402b28f4
invalid
invalid
cmpsb byte [rsi], byte [rdi]
or edx, ebx
cmp byte [rcx - 0x204b7450], dh
invalid
push rbp
mov al, 0x1a
stc
in al, dx
retf
loope 0x1402b2888
wait
int 0x6f
neg esi
cdq
xor ecx, 0xa886323c
or dword [rcx - 0x127c8343], ebp
mov ebp, 0xe7ed837c
push rax
mov ebp, 0xe7ed837c
push rax
jnp 0x1402b288a
add eax, dword [rax]
add byte [rdx], ah
stc
and bh, cl
and ebx, dword [rbx + 0x6b]
add al, 0x37
jae 0x1402b2936
invalid
invalid
Function at 0x140002e90
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 0x140002eed
lea rbx, [0x14003b870]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002ed4
cmp r10, 2
jb 0x140002ed4
cmp byte [r9], r8b
jne 0x140002ed4
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 0x140002eb0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002f2f
lea rbx, [0x14003b870]
cmp r8b, 0x23
jne 0x140002f13
cmp byte [r9], r8b
jne 0x140002f13
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 0x140002f00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400030aa
mov qword [r8], 0
lea rdx, [0x14003b3e0]
call fcn.140002f40
mov rbx, rax
test rax, rax
jne 0x1400030ca
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 0x1400031b5
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 0x1400031b5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400031b5
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 0x1400031b5
cmp rdi, 0xffffffffffffffff
je 0x1400031b5
mov rax, qword [0x1400476a8]
test rax, rax
je 0x140003146
inc dword [rax + 0xf4]
mov rdx, qword [0x140047698]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x1400031b5
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 0x1400031a2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400476a8]
test rax, rax
je 0x140003191
dec dword [rax + 0xf4]
mov rdx, qword [0x140047698]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1400031be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400031b0
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400031c0
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 0x140005f50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14003b870]
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 0x140005fe6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140018ef0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140012800
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400476a8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x140012861
cmp byte [rbx + 0x4a56], 0
jne 0x140012861
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002ce0
test dil, 1
je 0x14001298f
jmp 0x1400128ea
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 [0x1400407d8]
mulss xmm1, dword [0x1400407cc]
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 [0x140040750]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.140002ce0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012940
lea r11, [0x14003b870]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140012923
cmp byte [r8], r9b
jne 0x140012923
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 0x140012910
not ecx
call fcn.140009c40
test rax, rax
je 0x14001298f
cmp byte [rax + 0xb6], 0
je 0x14001298f
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.140002ce0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c410
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400380b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400177c0
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 0x140017867
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001781a
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.140019ae0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003650
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, [0x1400476a0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001786f
mov rcx, rbx
call fcn.140003650
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140017d10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400476a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140017d73
mov qword [rsp], rbx
lea rbx, [0x14003b870]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017d53
cmp byte [r8], r9b
jne 0x140017d53
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 0x140017d40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140017da7
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140017dae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140017d94
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 0x14002afc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1400476a8]
mov edx, 0x210
call fcn.14000f150
cmp byte [rax], 0
je 0x14002b036
xor edx, edx
mov ecx, 0x210
call fcn.140011590
test al, al
je 0x14002b036
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002b036
mov rbx, qword [0x1400476a8]
cmp byte [rbx + 0x37b9], 0
je 0x14002b022
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002790
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x1400476a8]
mov edx, 0x214
call fcn.14000f150
cmp byte [rax], 0
je 0x14002b0a6
xor edx, edx
mov ecx, 0x214
call fcn.140011590
test al, al
je 0x14002b0a6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002b0a6
mov rbx, qword [0x1400476a8]
cmp byte [rbx + 0x37b9], 0
je 0x14002b092
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002790
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x1400476a8]
mov edx, 0x212
call fcn.14000f150
cmp byte [rax], 0
je 0x14002b116
xor edx, edx
mov ecx, 0x212
call fcn.140011590
test al, al
je 0x14002b116
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002b116
mov rbx, qword [0x1400476a8]
cmp byte [rbx + 0x37b9], 0
je 0x14002b102
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002790
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x1400476a8]
mov edx, 0x216
call fcn.14000f150
cmp byte [rax], 0
je 0x14002b186
xor edx, edx
mov ecx, 0x216
call fcn.140011590
test al, al
je 0x14002b186
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002b186
mov rbx, qword [0x1400476a8]
cmp byte [rbx + 0x37b9], 0
je 0x14002b172
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002790
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140c3f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c3f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c3f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3f06f
add dl, dl
jne 0x140c3f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3f0f6
xor eax, eax
add dl, dl
jne 0x140c3f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c3f1ad
add dl, dl
jne 0x140c3f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c3f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c3f07e
mov eax, 1
add dl, dl
jne 0x140c3f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c3f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3f0fb
sub eax, ebx
mov ebx, 1
jne 0x140c3f14c
mov ecx, 1
add dl, dl
jne 0x140c3f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c3f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c3f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c3f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c3f15d
cmp eax, 0x7d00
jae 0x140c3f19b
cmp eax, 0x500
jb 0x140c3f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3f07e
cmp eax, 0x7f
ja 0x140c3f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c3f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c3f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c3f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140013930
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ca0
xor al, al
jmp 0x140014d21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014cb3
xor al, al
jmp 0x140014d21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014cdd
xor al, al
jmp 0x140014d21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014cf1
xor al, al
jmp 0x140014d21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d03
xor al, al
jmp 0x140014d21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d1f
xor al, al
jmp 0x140014d21
mov al, 1
add rsp, 0x38
ret