joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001030
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000106f
xor eax, eax
jmp 0x14000119d
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x14000109c
xor eax, eax
jmp 0x14000119d
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xe0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x140001130
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x14000119b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call fcn.140001890
cmp dword [rsp + 0x188], eax
jne 0x140001199
mov rax, qword [rsp + 0x68]
jmp 0x14000119d
jmp 0x140001126
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x1400011b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140001243
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x140001232
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.140001250
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400018f0
cmp eax, dword [rsp + 0x50]
jne 0x140001230
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x20]
jmp 0x140001245
jmp 0x140001234
jmp 0x140001243
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x1400011e2
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013520
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 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014860
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014880
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014893
xor al, al
jmp 0x140014901
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 0x1400148bd
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400148d1
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400148e3
xor al, al
jmp 0x140014901
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400148ff
xor al, al
jmp 0x140014901
mov al, 1
add rsp, 0x38
ret
Function at 0x14000a050
Capabilities:
Check os version
Query environment variable

Disassembly:
sub rsp, 0x178
mov rax, qword [0x1400a1080]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x20
lea rdx, [rsp + 0x140]
lea rcx, str.PA_MIN_LATENCY_MSEC
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x1e
ja 0x14000a0c0
lea rcx, [rsp + 0x140]
call fcn.14005dd60
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400943c8]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140052090
add rsp, 0x178
ret
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x24]
cmp eax, 4
jne 0x14000a103
cmp dword [rsp + 0x30], 2
jne 0x14000a128
movsd xmm0, qword [0x140094428]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140052090
add rsp, 0x178
ret
cmp eax, 5
jb 0x14000a128
movsd xmm0, qword [0x140094408]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140052090
add rsp, 0x178
ret
movsd xmm0, qword [0x140094410]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140052090
add rsp, 0x178
ret
Function at 0x14003f040
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14003f065
cvtsi2ss xmm0, rdx
jmp 0x14003f07a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.14007ac80
movss xmm1, dword [0x140094598]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003f0a8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003f0a8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14003f0da
cmp rbx, 0x200
jae 0x14003f0d7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003f0da
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140008bc0
Function at 0x140048c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
add rcx, 0x18
add rdx, 0x18
call fcn.140006500
movzx eax, byte [rsi + 0x38]
mov byte [rdi + 0x38], al
mov eax, dword [rsi + 0x3c]
mov dword [rdi + 0x3c], eax
movzx eax, byte [rsi + 0x40]
mov byte [rdi + 0x40], al
mov eax, dword [rsi + 0x48]
mov dword [rdi + 0x48], eax
mov eax, dword [rsi + 0x4c]
mov dword [rdi + 0x4c], eax
mov eax, dword [rsi + 0x50]
mov dword [rdi + 0x50], eax
mov eax, dword [rsi + 0x54]
mov dword [rdi + 0x54], eax
mov eax, dword [rsi + 0x58]
mov dword [rdi + 0x58], eax
movzx eax, byte [rsi + 0x5c]
mov byte [rdi + 0x5c], al
movzx eax, byte [rsi + 0x5d]
mov byte [rdi + 0x5d], al
movzx eax, byte [rsi + 0x5e]
mov byte [rdi + 0x5e], al
lea rcx, [rdi + 0x60]
lea rdx, [rsi + 0x60]
call fcn.140006500
movzx eax, byte [rsi + 0x80]
mov byte [rdi + 0x80], al
mov eax, dword [rsi + 0x84]
mov dword [rdi + 0x84], eax
movzx eax, byte [rsi + 0x88]
mov byte [rdi + 0x88], al
movzx eax, byte [rsi + 0x89]
mov byte [rdi + 0x89], al
movzx eax, byte [rsi + 0x8a]
mov byte [rdi + 0x8a], al
movzx eax, byte [rsi + 0x8b]
mov byte [rdi + 0x8b], al
lea rbx, [rdi + 0x98]
mov qword [rsp + 0x38], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea ecx, [rax + 0x30]
call fcn.1400520b8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
movss xmm0, dword [rsi]
movss xmm1, dword [rsi + 8]
cmp byte [rsi + 0x38], 0
je 0x140048de8
mulss xmm0, dword [0x1400945a0]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
not ecx
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov edx, ecx
sar edx, 0x10
or edx, ecx
inc edx
jmp 0x140048df8
mulss xmm0, dword [0x140094394]
mulss xmm0, xmm1
cvttss2si edx, xmm0
lea rcx, [rdi + 0xa8]
call fcn.14004a0c0
nop
movss xmm0, dword [rsi + 0x84]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140048e22
call fcn.14007bb70
movss dword [rdi + 0x90], xmm0
movss xmm1, dword [0x1400943d0]
mov rcx, rdi
call fcn.140048fc0
nop
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140005428
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, str.SHELL
mov qword [rbp - 0x20], rax
lea rax, str.LD_LIBRARY_PATH
mov qword [rbp - 0x18], rax
lea rax, str.JAVA_HOME
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x24], 0
jmp 0x14000547c
mov eax, dword [rbp - 0x24]
cdqe
mov rax, qword [rbp + rax*8 - 0x20]
mov rcx, rax
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140005478
mov eax, 1
jmp 0x140005489
add dword [rbp - 0x24], 1
mov eax, dword [rbp - 0x24]
cmp eax, 2
jbe 0x14000545a
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x140005642
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
call fcn.140005b50
call fcn.140004834
test eax, eax
je 0x140005662
mov eax, 0
jmp 0x14000583b
mov qword [rbp - 0x28], 0
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.14000557a
test eax, eax
je 0x140005684
mov eax, 0xffffffff
jmp 0x14000583b
mov rax, qword [rbp - 0x28]
call rax
test eax, eax
je 0x140005698
mov eax, 0
jmp 0x14000583b
call fcn.1400053cd
test eax, eax
je 0x1400056ab
mov eax, 0
jmp 0x14000583b
call fcn.140005428
test eax, eax
je 0x1400056be
mov eax, 0
jmp 0x14000583b
call fcn.14000548f
test eax, eax
je 0x1400056d1
mov eax, 0
jmp 0x14000583b
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov qword [0x14001c448], rax
mov rax, qword [0x14001c448]
test rax, rax
jne 0x140005721
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.CreateMutex_error:__d_n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x14000583b
call fcn.140001f7d
call fcn.1400049c9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x1400050ed]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140005780
lea rax, str.Failed_to_create_keylogger_thread._n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x14000583b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x140005390]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400057d2
lea rax, str.Failed_to_create_command_thread._n
mov rcx, rax
call fcn.140001493
mov eax, 1
jmp 0x14000583b
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [0x14001c448]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x140005d60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000e4b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000e4b0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140005dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001c4e4]
mov rbx, rcx
test esi, esi
jle 0x140005f00
mov rax, qword [0x14001c4e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140005e1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140005ea5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140005e00
mov rcx, rbx
call fcn.140006840
mov rdi, rax
test rax, rax
je 0x140005f22
mov rax, qword [0x14001c4e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140006980
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14001c4e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140005f07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140005e9e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140005eb0
add dword [0x14001c4e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14001c4e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140005e9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140005d60
nop dword [rax]
xor esi, esi
jmp 0x140005e28
mov rax, qword [0x14001c4e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140005d60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140005d60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400064b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14001c540]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001c520]
test rbx, rbx
je 0x14000650c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140006503
test eax, eax
jne 0x140006503
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400064e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140006840
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140012150]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140006860
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140006868
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140006860
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400068bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400068b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140006860
add rax, 0x28
cmp rax, r9
jne 0x1400068a0
xor eax, eax
ret

Function at 0x1400068c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140012150]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400068df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400068e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400068df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140006980
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140012150]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000699f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400069a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14066c478
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14066c5ff
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 0x14066c4a9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066c48f
add dl, dl
jne 0x14066c4b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066c516
xor eax, eax
add dl, dl
jne 0x14066c4c5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066c5cd
add dl, dl
jne 0x14066c4d6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14066c4e3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14066c4f0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14066c4fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14066c50a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14066c49e
mov eax, 1
add dl, dl
jne 0x14066c526
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14066c533
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066c51b
sub eax, ebx
mov ebx, 1
jne 0x14066c56c
mov ecx, 1
add dl, dl
jne 0x14066c54e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14066c55b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066c543
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066c49e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14066c588
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14066c595
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066c57d
cmp eax, 0x7d00
jae 0x14066c5bb
cmp eax, 0x500
jb 0x14066c5b6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066c49e
cmp eax, 0x7f
ja 0x14066c5be
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066c49e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14066c5f2
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 0x14066c49e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp byte [0x14000bb4c], 0
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
movsd xmm7, qword [0x140008920]
mov ebx, ecx
jne 0x140001323
lea rcx, [0x14000bbe0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
mov byte [0x14000bb4c], 1
cvtsi2sd xmm0, qword [0x14000bbe0]
divsd xmm0, xmm7
movsd qword [0x14000bb50], xmm0
lea rcx, [0x14000bbe0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd xmm6, qword [0x140008948]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x14000bbe0]
xor eax, eax
movabs rdi, 0x8000000000000000
divsd xmm0, qword [0x14000bb50]
comisd xmm0, xmm6
jb 0x14000136b
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000136b
mov rax, rdi
cvttsd2si rcx, xmm0
add rcx, rax
add rbx, rcx
cmp byte [0x14000bb4c], 0
jne 0x1400013ab
lea rcx, [0x14000bbe0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
mov byte [0x14000bb4c], 1
cvtsi2sd xmm0, qword [0x14000bbe0]
divsd xmm0, xmm7
movsd qword [0x14000bb50], xmm0
lea rcx, [0x14000bbe0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [0x14000bbe0]
divsd xmm0, qword [0x14000bb50]
comisd xmm0, xmm6
jb 0x1400013e1
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400013e1
mov rcx, rdi
cvttsd2si rax, xmm0
add rax, rcx
cmp rbx, rax
ja 0x140001376
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x140001e60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebp, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov r15d, r12d
mov qword [rsp + 0x60], r12
mov ebx, r12d
test eax, eax
je 0x140001f1b
cmp rbp, 0x1000
jb 0x140001eeb
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x140002084
call fcn.140006660
test rax, rax
je 0x140002042
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001ef6
mov rcx, rbp
call fcn.140006660
mov rbx, rax
mov r14, rbx
mov qword [rsp + 0x50], rbx
lea r15, [rbx + rbp]
mov qword [rsp + 0x60], r15
mov r8, rbp
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], r15
jmp 0x140001f20
mov r14, qword [rsp + 0x50]
mov rdx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov dword [rsp + 0x20], 1
cmp byte [rbx], 0
je 0x140002019
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140001f70
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400056b0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140001fb4
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rsi + 8], 0x20
jmp 0x140001fc6
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.140005c60
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001ffa
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ff5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002049
call fcn.14000669c
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140002001
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140001f50
test r14, r14
je 0x14000205b
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x140002050
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002050
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
mov rdx, r15
mov rcx, r14
call fcn.14000669c
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140006640
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140001180
int3