joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x1400378dd
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x1400378e2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14003790d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14003790d
mov rax, qword [rax + 0x3b0]
test rax, rax
je 0x14003790d
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x140037912
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14003792c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140037931
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0x3fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x1400379b3
inc ecx
test r8d, r8d
je 0x14003799e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400379a3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1400393f0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x1400379f3
mov r8d, edi
mov rcx, rbp
call fcn.140037890
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400378c0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140051810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140098be0]
mov rcx, qword [rax + 0x5000]
mov r9, qword [rax + 0x4140]
movups xmm0, xmmword [r9 + 0x278]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x278], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2e0]
add rsp, 0x38
jmp fcn.140046c30

Function at 0x1400518f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140098be0]
mov rcx, qword [rax + 0x5000]
mov r10, qword [rax + 0x4140]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2e0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x278], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2e0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.140046c30
Function at 0x14006d9f0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006db1a
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.GISRestart
lea rax, [rsp + 0x160]
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x28], rax
mov r9d, 2
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14006dad9
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x160]
sub rdx, rax
nop word [rax + rax]
movzx r8d, byte [rax]
movzx ecx, byte [rax + rdx]
sub r8d, ecx
jne 0x14006dad4
inc rax
test ecx, ecx
jne 0x14006dac0
test r8d, r8d
je 0x14006db1a
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x40]
lea rdx, str.GISRestart
inc eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14007e140
add rsp, 0x288
ret

Function at 0x14006db40
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140098028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006db9b
mov rcx, qword [rsp + 0x30]
lea rdx, str.GISRestart
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007e140
add rsp, 0x48
ret
Function at 0x14006e550
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r8, [0x14000a0e0]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a1b0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140009f60]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a020]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a280]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a3b0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140009f20]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140009f40]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14007db30]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000bba0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14007d3f0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8, [0x14006d210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a6a0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret
Function at 0x14007ee88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007eed2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007eed2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007eed2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007eed2
cmp dword [rcx + 0x84], 0xe
jbe 0x14007eed2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007eed4
xor al, al
add rsp, 0x28
ret
Function at 0x14070e0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14070e237
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 0x14070e0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14070e0c7
add dl, dl
jne 0x14070e0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14070e14e
xor eax, eax
add dl, dl
jne 0x14070e0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14070e205
add dl, dl
jne 0x14070e10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14070e11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14070e128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14070e135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14070e142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14070e0d6
mov eax, 1
add dl, dl
jne 0x14070e15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14070e16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14070e153
sub eax, ebx
mov ebx, 1
jne 0x14070e1a4
mov ecx, 1
add dl, dl
jne 0x14070e186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14070e193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14070e17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14070e0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14070e1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14070e1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14070e1b5
cmp eax, 0x7d00
jae 0x14070e1f3
cmp eax, 0x500
jb 0x14070e1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14070e0d6
cmp eax, 0x7f
ja 0x14070e1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14070e0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14070e22a
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 0x14070e0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011361
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x140016420
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e0f9]
call fcn.1400116e5
nop
xor r9d, r9d
mov r8, qword [rbp + 0xe0]
lea rdx, [0x140011712]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1400284c0], rax
cmp qword [0x1400284c0], 0
jne 0x140016474
mov eax, 1
jmp 0x140016476
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400113d9
Capabilities:
Terminate process

Disassembly:
jmp 0x14001be80
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]
nop
add rsp, 0x28
ret

Function at 0x140011483
Capabilities:
Print debug messages

Disassembly:
jmp 0x140018ca0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e0f9]
call fcn.1400116e5
nop
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x30]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x140018ce4
cmp dword [rbp + 0xc0], 4
je 0x140018cf8
jmp 0x140018d0a
mov edx, 4
mov rcx, qword [rbp + 0xf0]
call fcn.140011384
nop
jmp 0x140018d0a
mov edx, 1
mov rcx, qword [rbp + 0xf0]
call fcn.140011384
nop
mov rcx, qword [rbp + 0xf0]
call fcn.1400111d1
mov r8d, eax
mov dl, 0xd6
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
call fcn.140011672
test eax, eax
jne 0x140018d3c
lea rcx, str.Failed_to_send_command_to_turn_the_monitor._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1400114f6
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001ad00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ad20
xor al, al
jmp 0x14001ada1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001ad33
xor al, al
jmp 0x14001ada1
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 0x14001ad5d
xor al, al
jmp 0x14001ada1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ad71
xor al, al
jmp 0x14001ada1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ad83
xor al, al
jmp 0x14001ada1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ad9f
xor al, al
jmp 0x14001ada1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011528
Capabilities:
Print debug messages

Disassembly:
jmp 0x140018df0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e0f9]
call fcn.1400116e5
nop
mov rcx, qword [rbp + 0x100]
call fcn.140011361
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140018e49
lea rcx, str.Failed_to_set_hook__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov eax, 1
jmp 0x140018e80
call fcn.1400116d6
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140018e6c
lea rcx, str.Failed_to_enumerate_monitors._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov eax, 1
jmp 0x140018e80
call fcn.1400114e7
nop
call fcn.1400114ec
nop
call fcn.1400114ce
nop
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001a000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001171c
movzx eax, al
test eax, eax
jne 0x14001a020
mov ecx, 7
call fcn.1400115eb
nop
mov byte [rsp + 0x20], 0
call fcn.140011627
mov byte [rsp + 0x21], al
cmp dword [0x1400284f0], 1
jne 0x14001a044
mov ecx, 7
call fcn.1400115eb
nop
jmp 0x14001a09c
cmp dword [0x1400284f0], 0
jne 0x14001a097
mov dword [0x1400284f0], 1
lea rdx, [0x140022770]
lea rcx, [0x140022440]
call fcn.140011339
test eax, eax
je 0x14001a078
mov eax, 0xff
jmp 0x14001a1a1
lea rdx, [0x140022330]
lea rcx, [section..rdata]
call fcn.140011609
mov dword [0x1400284f0], 2
jmp 0x14001a09c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115d7
call fcn.14001151e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001a0f9
mov rcx, qword [rsp + 0x30]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x14001a0f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.140011573
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001a12d
mov rcx, qword [rsp + 0x38]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x14001a12d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400116bd
nop
call fcn.14001a210
mov dword [rsp + 0x28], eax
call fcn.1400114f6
movzx eax, al
test eax, eax
jne 0x14001a14c
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001a15b
call fcn.1400116d1
nop
xor edx, edx
mov cl, 1
call fcn.140011267
mov eax, dword [rsp + 0x28]
jmp 0x14001a1a1
add rsp, 0x68
ret
Function at 0x141deb058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141deb1df
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 0x141deb089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141deb06f
add dl, dl
jne 0x141deb096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141deb0f6
xor eax, eax
add dl, dl
jne 0x141deb0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141deb1ad
add dl, dl
jne 0x141deb0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141deb0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141deb0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141deb0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141deb0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141deb07e
mov eax, 1
add dl, dl
jne 0x141deb106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141deb113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141deb0fb
sub eax, ebx
mov ebx, 1
jne 0x141deb14c
mov ecx, 1
add dl, dl
jne 0x141deb12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141deb13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141deb123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141deb07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141deb168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141deb175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141deb15d
cmp eax, 0x7d00
jae 0x141deb19b
cmp eax, 0x500
jb 0x141deb196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141deb07e
cmp eax, 0x7f
ja 0x141deb19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141deb07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141deb1d2
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 0x141deb07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ah, ch
add byte [rax], al
add byte [rax + rax], ch
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rsi], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rsi], al
add byte [rax], al
add byte [rdi], dl
add byte [rax], al
invalid
add dl, dl
add al, byte [rdx]
add bh, ch
rol byte [rdx], cl
add al, byte [rdx]
std
and dword [rcx], esp
and esi, esi
je 0x14003f76a
je 0x14003f6eb
mov cl, 0xb1
mov cl, 0xf6
retf
invalid
mov dh, 0xc6
dec al
enter 0xffffffffffffffc8, 0xffffffffffffffd0
rcl al, 1
std
fstp st(5)
invalid
scasd eax, dword [rdi]
cli
hlt
Function at 0x1400052f0
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 0x14000534d
lea rbx, [0x1400573e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005334
cmp r10, 2
jb 0x140005334
cmp byte [r9], r8b
jne 0x140005334
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 0x140005310
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000538f
lea rbx, [0x1400573e0]
cmp r8b, 0x23
jne 0x140005373
cmp byte [r9], r8b
jne 0x140005373
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 0x140005360
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400054d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400054ea
mov qword [r8], 0
lea rdx, [0x140057054]
call fcn.1400053a0
mov rbx, rax
test rax, rax
jne 0x14000550a
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 0x1400055e1
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 0x1400055e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400055e1
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 0x1400055e1
cmp rdi, 0xffffffffffffffff
je 0x1400055e1
mov rax, qword [0x1400670d0]
test rax, rax
je 0x14000557e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400055e1
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 0x1400055ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400670d0]
test rax, rax
je 0x1400055c3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400055ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400055dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400055ec
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