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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
je 0x140036d75
cmp dword [rsp + 0x30], 0x80000005
jne 0x140036d7b
mov eax, dword [rsp + 0x34]
jmp 0x140036d7d
xor eax, eax
add rsp, 0x48
ret

Function at 0x140036e9c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14004da40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140036ef5
cmp dword [rsp + 0x90], 0x7c
jge 0x140036ef5
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14004d630]
call fcn.1400372d0
lea rcx, [rsp + 0x50]
call fcn.1400315a4
nop
cmp qword [rsp + 0x30], 0
jne 0x140036f1b
lea rdx, str.select_a_key
lea rcx, [rsp + 0x50]
call fcn.14003209c
jmp 0x140036f2a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003209c
cmp dword [rsp + 0xa0], 1
jne 0x140036f45
lea rdx, str.press_any_key
lea rcx, [rsp + 0x50]
call fcn.14003209c
movss xmm2, dword [0x140042088]
movss xmm1, dword [0x140046ea8]
lea rcx, [rsp + 0x48]
call fcn.140031b00
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140039fe8
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002c3c4
movzx eax, al
test eax, eax
je 0x140036fba
cmp dword [rsp + 0xa0], 0
jne 0x140036fba
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140031e50
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003e0b0
add rsp, 0x88
ret

Function at 0x1400382c8
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x14004da40]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x2c], 0x19
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x1a
rep stosb byte [rdi], al
mov dword [rsp + 0x24], 0
jmp 0x140038316
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x19
je 0x14003835f
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x37
idiv ecx
mov eax, edx
inc eax
cdqe
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x24]
mov al, byte [rsp + rax + 0x38]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
add eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x24]
mov byte [rsp + rcx + 0x38], al
jmp 0x14003830c
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003e0b0
add rsp, 0x60
pop rdi
ret
Function at 0x1400391d0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x1400392a6
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140039296
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x140039338
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003932d
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003932d
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x14003d080
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 0
lea rax, [0x1400390dc]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x88], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x90], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
lea rax, [0x1400463f8]
mov qword [rsp + 0xb0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x14003d148
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x14004dfa8], rax
cmp qword [0x14004dfa8], 0
je 0x14003d179
mov dword [0x14004dfb0], 0x780
mov dword [0x14004dfb4], 0x64
jmp 0x14003d184
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [0x14004e008]
add eax, 5
mov ecx, dword [0x14004e004]
add ecx, 0xa
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov edx, dword [0x14004dfb4]
mov dword [rsp + 0x38], edx
mov edx, dword [0x14004dfb0]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, 0x90000000
lea r8, [0x140046408]
lea rdx, str.DiscordOverlay
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004e0b0], rax
lea rdx, [0x1400463e8]
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
or eax, 0x20
mov dword [rsp + 0x60], eax
mov rax, qword [0x14004e0b0]
mov qword [rsp + 0x68], rax
mov r8d, dword [rsp + 0x60]
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 5
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004e0b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc8
ret
Function at 0x14003d3fc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14004da40]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [0x14004dfa0]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x14003d435
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 0x40
xor edx, edx
lea rcx, [0x14004df60]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14004e004]
mov dword [0x14004df60], eax
mov eax, dword [0x14004e008]
mov dword [0x14004df64], eax
mov dword [0x14004df68], 0x15
mov dword [0x14004df74], 0
mov dword [0x14004df90], 0x50
mov dword [0x14004df78], 1
mov dword [0x14004df8c], 1
mov rax, qword [0x14004e0b0]
mov qword [0x14004df80], rax
mov dword [0x14004df88], 1
mov rax, qword [0x14004dfa0]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x14004e0b8]
mov qword [rsp + 0x30], rax
lea rax, [0x14004df60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x14004e0b0]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x14004dfa0]
call qword [rsp + 0x48]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x418
mov edx, 0x37b8
lea rcx, str.1.89_WIP
call fcn.140006c88
xor ecx, ecx
call fcn.14000697c
call fcn.140008a84
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14004e0b0]
call fcn.14002496c
mov rcx, qword [0x14004e0b8]
call fcn.140024030
xor ecx, ecx
call fcn.14001cd78
lea rcx, [rsp + 0x80]
call fcn.140016a6c
mov byte [rsp + 0xa0], 0
mov dword [rsp + 0x98], 5
mov dword [rsp + 0x9c], 5
movss xmm0, dword [0x1400462a0]
movss dword [rsp + 0xd0], xmm0
lea rax, [0x140046d60]
mov qword [rsp + 0xb8], rax
movss xmm0, dword [0x14004082c]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.140031b38
lea rdx, str.C:WindowsFonts_arialbd.ttf
lea rcx, [rsp + 0x110]
call fcn.14003087c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call fcn.140019b14
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x110]
call fcn.14003a280
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x140042170]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400174d0
mov qword [0x14004dee8], rax
mov rax, qword [0x14004dfa0]
mov rax, qword [rax]
mov rcx, qword [0x14004dfa0]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003e0b0
add rsp, 0x148
ret
Function at 0x14003dac8
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword [0x14004da40]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.1400382c8
lea rcx, [0x14004637c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x1f4
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
cmp qword [0x14004dff8], 0
jne 0x14003db4a
lea rdx, str.Fortnite
lea rcx, [rsp + 0x20]
call fcn.1400311e4
lea rcx, [rsp + 0x20]
call fcn.14003a348
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14004dff8], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14003db06
lea rdx, [0x14004e000]
mov rcx, qword [0x14004dff8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov rcx, qword [0x14004e048]
call fcn.140036fdc
movzx eax, al
test eax, eax
je 0x14003dbb2
mov edx, dword [0x14004e000]
mov rcx, qword [0x14004e048]
call fcn.1400325f8
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [0x14004e048]
call fcn.140036d84
mov qword [0x14004dff0], rax
mov rdx, qword [0x14004dff0]
lea rcx, str.base_adress__p
call fcn.1400165dc
call fcn.14003d080
call fcn.14003d3fc
call fcn.14003d670
call fcn.14003d9f4
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003e0b0
add rsp, 0x48
ret

Function at 0x14003e8f8
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x14000f040]
jne 0x14000281a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002816
repz ret
ror rcx, 0x10
jmp 0x140002d58
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140010260]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140010358]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002ddd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140010260]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002dff
mov rax, qword [rsp + 0x88]
mov qword [0x140010358], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400102f8], rax
mov rax, qword [0x140010358]
mov qword [0x1400101d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400102e0], rax
mov dword [0x1400101c0], 0xc0000409
mov dword [0x1400101c4], 1
mov rax, qword [0x14000f040]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000f048]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140010258], eax
mov ecx, 1
call fcn.140005234
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b2f8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140010258], 0
jne 0x140002e86
mov ecx, 1
call fcn.140005234
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140003e48
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000544c
nop
cmp dword [0x1400107a0], 1
je 0x140003df4
mov dword [0x14001079c], 1
mov byte [0x140010798], r12b
test ebx, ebx
jne 0x140003de0
mov rcx, qword [0x140011290]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140003dcd
mov rcx, qword [0x140011288]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140003d6c
call fcn.140004de0
cmp qword [rdi], rax
jne 0x140003d6c
jmp 0x140003d52
cmp rdi, rsi
jb 0x140003dcd
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140004de0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140011290]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140011288]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140003dab
cmp r13, rax
je 0x140003dcb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140003d52
lea rdx, [0x14000b250]
lea rcx, [0x14000b248]
call fcn.140003b9c
lea rdx, [0x14000b260]
lea rcx, [0x14000b258]
call fcn.140003b9c
nop
test r12d, r12d
je 0x140003e03
mov ecx, 8
call fcn.14000534c
test r12d, r12d
jne 0x140003e2e
mov dword [0x1400107a0], 1
lea ecx, [r12 + 8]
call fcn.14000534c
mov ecx, r15d
call fcn.140003b30
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140003cbc

Function at 0x140003e54
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140003cbc
Function at 0x140005b14
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140004de0
xor ebx, ebx
mov rdi, rax
cmp qword [0x140010ee0], rbx
jne 0x140005c1a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140005cef
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005cef
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140010ee0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140010ee8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140010ef0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140010f00], rax
test rax, rax
je 0x140005c11
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140010ef8], rax
jmp 0x140005c21
mov rax, qword [0x140010ef8]
jmp 0x140005c28
mov rax, qword [0x140010ef8]
mov r11, qword [0x140010f00]
cmp rax, rdi
je 0x140005c90
cmp r11, rdi
je 0x140005c90
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140010f00]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140005c90
test rax, rax
je 0x140005c90
call rsi
test rax, rax
je 0x140005c8a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140005c8a
test byte [rsp + 0x38], 1
jne 0x140005c90
bts ebp, 0x15
jmp 0x140005cce
mov rcx, qword [0x140010ee8]
cmp rcx, rdi
je 0x140005cce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005cce
call rax
mov rbx, rax
test rax, rax
je 0x140005cce
mov rcx, qword [0x140010ef0]
cmp rcx, rdi
je 0x140005cce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005cce
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140010ee0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005cef
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140005cf1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140662058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406621df
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 0x140662089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066206f
add dl, dl
jne 0x140662096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406620f6
xor eax, eax
add dl, dl
jne 0x1406620a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406621ad
add dl, dl
jne 0x1406620b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406620c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406620d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406620dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406620ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14066207e
mov eax, 1
add dl, dl
jne 0x140662106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140662113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406620fb
sub eax, ebx
mov ebx, 1
jne 0x14066214c
mov ecx, 1
add dl, dl
jne 0x14066212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14066213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140662123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140662168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140662175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066215d
cmp eax, 0x7d00
jae 0x14066219b
cmp eax, 0x500
jb 0x140662196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066207e
cmp eax, 0x7f
ja 0x14066219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406621d2
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 0x14066207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
or eax, 0x95994892
test al, 0xc7
sbb dword [rdi - 0x748d46a3], 0xadcbee21
pop rbx
invalid
cli
cwde
int1
jnp 0x1400c3ecd
out dx, eax
jrcxz 0x1400c3e18
out dx, al
loopne 0x1400c3ec4
wait
or bl, byte [rsi]
jae 0x1400c3e11
mov ecx, 0x41e7caeb
adc al, 0xde
mov esp, dword [rax - 0x2c1a18fe]
add ah, bh
in eax, 0xd3
lahf
mov esp, 0xa95b6204
invalid
pop rbx
invalid
invalid
invalid
mov al, 0x59
loop 0x1400c3ee2
invalid
sub ebx, dword [rcx]
sal cl, cl
je 0x1400c3e85
invalid
jg 0x1400c3e75
pop rdi
adc edi, edx
enter 0x64d3, 0xffffffffffffffd9
hlt

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140056c75
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
call fcn.1400e1e10
mov qword [rbp - 8], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x10]
cmp rax, qword [rbp - 8]
jl 0x140056d9e
mov ecx, 0
call fcn.1400c9650
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x140056d93
mov qword [rbp - 0x18], 0xffffffffffffffff
call fcn.14006057b
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jle 0x140056d54
call fcn.1400cd72c
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x38], rax
mov rax, qword [0x140db3ef0]
cmp qword [rbp - 0x38], rax
jne 0x140056d23
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400545ca
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
nop
jmp 0x140056d52
cmp qword [rbp - 0x38], 0
jne 0x140056d42
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.14003dd09
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
nop
jmp 0x140056d52
mov ecx, 3
call fcn.1400c8cd4
mov qword [rbp - 0x40], rax
jmp 0x140056d63
jmp 0x140056d63
nop
mov ecx, 5
call fcn.1400c8cd4
mov qword [rbp - 0x58], rax
mov ecx, 0x1b
call sub.USER32.dll_GetKeyState
mov qword [rbp - 0x60], rax
cmp qword [rbp - 0x60], 1
jle 0x140056d85
mov qword [0x140db3e58], 1
jmp 0x140056d94
nop
mov qword [0x140db3e58], 0
jmp 0x140056d94
nop
add qword [rbp - 8], 1
jmp 0x140056ca6
nop
mov qword [rbp - 0x10], 0
mov rax, qword [rbp - 0x10]
sub rsp, 0xffffffffffffff80
pop rbp
ret