joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1417b85e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rbx
push r8
mov r8d, 0xac9e8d2a
lea rbx, [0x1417d3270]
push 0xffffffffcc0e16ab
push 0xffffffffff18a397
rol word [rsp + 9], 0x8a
movzx r8d, byte [r10]
xor r8d, ecx
not dword [rsp + 0xc]
and r8d, 0xff
mov r8d, dword [rbx + r8*4]
shr ecx, 8
xor ecx, r8d
inc r10
xor ecx, 0x5583a13b
or qword [rsp + 8], 0x30ba2e11
dec rdx
lea rsp, [rsp + 0x10]
jne 0x1417b85f7
push 0x6800406
mov r8, qword [rsp + 8]
push 0x4e896d92
jmp fcn.1417e91cb

Function at 0x1417c330f
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x18]
je 0x1417b0804
mov r11d, 0x2b3b3f36
sar r11w, 0xae
push r9
js 0x1417dea79
not r11
movzx r9d, r11b
lea r9, [0x1417b9ec0]
mov r11d, 0xa1119a8f
movzx r11d, byte [rcx]
xor r11d, edx
push 0xffffffffa18e832a
and r11d, 0xff
push 0x14bcd701
mov r11d, dword [r9 + r11*4]
or qword [rsp + 6], 0xffffffffe70ccc21
shr edx, 8
sar qword [rsp + 8], 0xb
xor edx, r11d
inc rcx
inc dword [rsp + 6]
push 0xffffffffb23949b6
xor edx, 0xa8b4fa11
dec rax
lea rsp, [rsp + 0x18]
jne 0x1417b07a2
mov r9d, 0x7923f49e
not r9b
pop r9
not edx
push 0xffffffffc1226abb
mov dword [r9], edx
lea rsp, [rsp + 8]
jmp fcn.1417cc013
mov rcx, qword [r9]
push 0xffffffffbf3a1a1d
mov qword [rsp + 8], 0x6fa92316
mov rax, qword [r9 + 8]
push 0xffffffffe39e9f38
sar qword [rsp + 0x10], 0x5c
add r9, 0xc
xor edx, edx
test rax, rax
jmp 0x1417b0776
push rdi
inc dx
lea rdi, [rdi*8 + 0x2997fb0e]
call fcn.1417bd1a4
and di, dx
not di
jmp 0x1417e110c
mov word [r9], di
lea rsp, [rsp + 8]
jmp fcn.1417ca6a9
Function at 0x140006da0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [rcx], 0x26
jne 0x140006e59
mov rsi, rdx
add rcx, 1
lea rdx, [0x140104c69]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x34]
call fcn.140006e80
cmp eax, 2
jne 0x140006e59
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x140006e50
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x60], rdx
mov rcx, rsi
call fcn.1400423d0
test al, al
je 0x140006e71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
setne sil
jmp 0x140006e5b
xor esi, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ba9f0
mov eax, esi
add rsp, 0x78
pop rdi
pop rsi
ret
lea rcx, str.Serialised_configuration_data_was_invalid
call fcn.140006000
int3

Function at 0x140007060
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp ecx, 2
jne 0x140007119
mov r14d, r9d
mov ebx, r8d
mov rdi, rdx
lea eax, [rbx + 1]
movsxd rdx, eax
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
je 0x140007119
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140007119
mov rbp, rax
movsxd rbx, ebx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call fcn.1400bbc60
mov byte [rbp + rbx], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14b, r14b
jne 0x1400070e9
mov rcx, qword [0x14012b008]
mov r8d, 1
mov edx, 0x8002
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x14012b008]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007124
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, 1
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14b, r14b
je 0x140007132
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14b, r14b
jne 0x140007119
mov rcx, qword [0x14012b008]
mov edx, 0x8002
xor r8d, r8d
xor r9d, r9d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.USER32.dll_SendMessageA]

Function at 0x14000c6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x130
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14000c6fe
cmp byte [rsp + 0x32], 0
js 0x14000c702
mov sil, byte [rsp + 0xc5]
shr sil, 7
jmp 0x14000c705
xor esi, esi
jmp 0x14000c705
mov sil, 1
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400ba9f0
mov eax, esi
add rsp, 0x130
pop rsi
ret
Function at 0x14000d010
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
sub rsp, 0x20
mov rax, qword [0x14012d350]
test rax, rax
je 0x14000d04f
mov rsi, rcx
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
mov rax, qword [rdx]
mov rcx, rdx
xor edx, edx
call qword [rax]
lea rdx, [0x14000d060]
mov ecx, 0x3e8
mov r8, rsi
add rsp, 0x20
pop rsi
jmp fcn.14002cb00
nop
add rsp, 0x20
pop rsi
ret

Function at 0x14000d100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [0x14012d368], 0
je 0x14000d114
add rsp, 0x20
pop rsi
ret
mov byte [0x14012d368], 1
lea rcx, str.hhctrl.ocx
call fcn.1400462c0
mov rsi, rax
test rax, rax
je 0x14000d176
lea rdx, str.HtmlHelpA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14012d370], rax
test rax, rax
je 0x14000d181
cmp byte [0x14012d391], 0
jne 0x14000d1f1
mov byte [0x14012d391], 1
cmp byte [0x14012d358], 1
jne 0x14000d190
mov rdx, qword [0x14012d360]
test rdx, rdx
jne 0x14000d1b9
jmp 0x14000d1f1
mov qword [0x14012d370], 0
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [0x14012d358], 1
mov edx, 0x7d0
mov r8d, 0x7d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov qword [0x14012d360], rax
test rdx, rdx
je 0x14000d1f1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x14012d394], eax
test eax, eax
je 0x14000d1f1
mov rdx, qword [0x14012d360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d1f1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x14012d388], rax
jmp 0x14000d1f8
mov rax, qword [0x14012d388]
test rax, rax
jne 0x14000d10e
lea rdx, str.SoftwareSimonTathamPuTTY64CHMPath
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.1400469b0
test rax, rax
jne 0x14000d23b
lea rdx, str.SoftwareSimonTathamPuTTYCHMPath
mov rcx, 0xffffffff80000002
xor r8d, r8d
call fcn.1400469b0
test rax, rax
je 0x14000d10e
mov qword [0x14012d378], rax
mov byte [0x14012d380], 0
jmp 0x14000d10e

Function at 0x14000d250
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14012d378]
test rcx, rcx
je 0x14000d292
cmp byte [0x14012d380], 1
jne 0x14000d294
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x14012d370]
mov rcx, qword [0x14012d378]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [0x14012d378]
jmp 0x14000d294
xor ecx, ecx
call fcn.140043590
mov qword [0x14012d378], 0
mov byte [0x14012d380], 0
add rsp, 0x28
ret
Function at 0x14000d2d0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r15, rdx
mov r13, rcx
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdx, qword [0x14012d378]
test rdx, rdx
jne 0x14000d3b9
cmp qword [0x14012d388], 0
je 0x14000d3b9
cmp byte [0x14012d398], 0
jne 0x14000d3a8
mov byte [0x14012d398], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14000d3a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
lea rcx, str._sputty__lu__llu.chm
xor r14d, r14d
lea rdx, [rsp + 0x50]
mov r8d, eax
xor r9d, r9d
call fcn.140042890
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000d42c
mov rsi, rax
jmp 0x14000d4be
xor ebx, ebx
mov rcx, rbx
call fcn.140043590
mov rdx, qword [0x14012d378]
test rdx, rdx
je 0x14000d407
test r15, r15
je 0x14000d3f1
lea rcx, str._s::__s.html_main
mov r8, r15
call fcn.140042890
mov rsi, rax
mov rcx, r13
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [0x14012d370]
mov rcx, rsi
call fcn.140043590
jmp 0x14000d400
mov rcx, r13
xor r8d, r8d
xor r9d, r9d
call qword [0x14012d370]
mov byte [0x14012d390], 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r13
mov edi, 1
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_CreateFileA]
nop word cs:[rax + rax]
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14000d54f
mov rcx, rbx
call fcn.140043590
lea rcx, str._sputty__lu__llu.chm
mov rdx, r13
mov r8d, ebp
mov r9, rdi
call fcn.140042890
mov rbx, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
mov rcx, rax
mov edx, 0x40000000
mov r8d, 1
xor r9d, r9d
call r12
add rdi, 1
cmp rax, 0xffffffffffffffff
je 0x14000d450
mov rsi, rax
mov r13, qword [rsp + 0x40]
mov rbp, qword [0x14012d388]
lea r12, [rsp + 0x4c]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFile]
nop word cs:[rax + rax]
nop dword [rax + rax]
mov r8d, dword [0x14012d394]
sub r8d, r14d
jbe 0x14000d51f
mov dword [rsp + 0x4c], 0
mov edx, r14d
add rdx, rbp
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, r12
call rdi
add r14d, dword [rsp + 0x4c]
test eax, eax
jne 0x14000d4e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14000d52f
mov qword [0x14012d378], rbx
mov byte [0x14012d380], 1
xor ebx, ebx
mov rcx, rbx
call fcn.140043590
cmp rsi, 0xffffffffffffffff
je 0x14000d3b2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000d3b2
mov r13, qword [rsp + 0x40]
jmp 0x14000d3aa
Function at 0x14000d560
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp byte [0x14012d390], 1
jne 0x14000d580
xor ecx, ecx
xor edx, edx
mov r8d, 0x12
xor r9d, r9d
call qword [0x14012d370]
mov rcx, qword [0x14012d378]
test rcx, rcx
je 0x14000d5a0
cmp byte [0x14012d380], 1
jne 0x14000d5a0
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
add rsp, 0x28
ret
Function at 0x1400122a0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
mov rax, rcx
xor edi, edi
test edx, edx
cmovs edx, edi
mov cl, byte [rsp + 0x88]
mov byte [rsp + 7], cl
test r8d, r8d
cmovns edi, r8d
mov ecx, dword [rsp + 0x80]
mov ebp, dword [rax + 0x178]
lea r8d, [rbp - 1]
cmp ebp, r9d
cmovg r8d, r9d
movsxd rbx, dword [rax + 0x174]
lea r11d, [rbx - 1]
cmp ebx, ecx
cmovg r11d, ecx
cmp edi, r11d
jg 0x140012419
mov r9d, edx
shr r9d, 1
mov r13d, r8d
shr r13d, 0x1f
add r13d, r8d
sar r13d, 1
add r13d, 1
cmp r9d, r13d
mov esi, r13d
cmovg esi, r9d
mov edi, edi
cmp rdi, rbx
jge 0x140012419
mov ebx, edx
mov r15, rbx
shr r15, 1
add esi, r15d
sub esi, r9d
add esi, 1
lea r10d, [r8 + 1]
add r11d, 1
lea rcx, [r15 + r15*4]
lea r12, [rcx*4 + 4]
mov qword [rsp + 0x10], rbx
lea rcx, [rbx + rbx*4]
lea rcx, [rcx*4 + 4]
mov qword [rsp + 8], rcx
nop word cs:[rax + rax]
nop
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
test byte [rcx], 3
je 0x1400123c0
cmp r9d, r13d
jg 0x140012400
mov rbp, r12
mov rcx, r15
nop dword [rax + rax]
movsxd rbx, dword [rax + 0x178]
cmp rcx, rbx
jge 0x140012400
mov rbx, qword [rax + 0x28]
mov rbx, qword [rbx + rdi*8]
mov rbx, qword [rbx + 0x18]
or dword [rbx + rbp], 0x3ffff
add rcx, 1
add rbp, 0x14
cmp rsi, rcx
jne 0x140012390
jmp 0x140012400
cmp edx, r8d
jg 0x140012400
mov rbp, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
nop
movsxd rcx, dword [rax + 0x178]
cmp r14, rcx
jge 0x140012400
mov rcx, qword [rax + 0x28]
mov rcx, qword [rcx + rdi*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + rbp], 0x3ffff
add r14, 1
add rbp, 0x14
cmp r10, r14
jne 0x1400123d0
nop dword [rax]
add rdi, 1
cmp rdi, r11
je 0x140012419
movsxd rcx, dword [rax + 0x174]
cmp rdi, rcx
jl 0x140012370
cmp byte [rsp + 7], 0
je 0x140012438
mov rcx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000d810
cmp byte [rax + 0x10f1], 0
je 0x140012452
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 0x10f1], 1
lea rcx, [0x14001a4f0]
mov rdx, rax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14002c930
Function at 0x1400229f0
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [0x14012bf18]
mov qword [rsp + 0x20], 0
lea r9, [fcn.140022a40]
mov edx, 0x6f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rsi, rax
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rsi
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_DestroyWindow]

Function at 0x1400236a0
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov rcx, qword [0x14012d3b8]
test rcx, rcx
jne 0x1400236f1
mov rcx, qword [0x14012bf18]
mov qword [rsp + 0x20], 0
lea r9, [0x140023700]
mov edx, 0x6e
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov qword [0x14012d3b8], rax
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14012d3b8]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_SetActiveWindow]
Function at 0x14002b3e0
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
cmp byte [0x14012e4b0], 0
je 0x14002b609
mov edi, r8d
mov ebx, edx
mov r14, rcx
cmp qword [0x14012e4b8], 0
jne 0x14002b50a
cmp word [0x14012e4c0], 0
jne 0x14002b499
mov dword [rsp + 0x80], 3
lea rax, [0x14002b630]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
mov rax, qword [0x14012bf18]
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rax, str.SizeTipClass
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x14012e4c0], ax
mov rsi, qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x18
call rsi
mov dword [0x14012e4c4], eax
mov ecx, 0x17
call rsi
mov dword [0x14012e4c8], eax
lea rcx, [rsp + 0x84]
mov r8d, 0x154
xor edx, edx
call fcn.1400bc310
mov dword [rsp + 0x80], 0x158
lea r8, [rsp + 0x80]
mov ecx, 0x29
mov edx, 0x158
xor r9d, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rcx, [rsp + 0x15c]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov qword [0x14012e4d0], rax
lea rdx, str._dx_d
lea rcx, [rsp + 0x80]
mov r8d, ebx
mov r9d, edi
call fcn.140001000
mov rcx, qword [0x14012e4b8]
test rcx, rcx
je 0x14002b543
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x14002b609
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbx, rax
lea r15, [rsp + 0x80]
mov rcx, r15
call fcn.1400d0680
lea r9, [rsp + 0x78]
mov rcx, rbx
mov rdx, r15
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
cmp eax, 0x11
mov edx, 0x10
cmovl eax, edx
mov ebx, dword [rsp + 0x78]
mov esi, dword [rsp + 0x7c]
sub ecx, esi
cmp ecx, 0x11
cmovl ecx, edx
mov rdi, qword [0x14012bf18]
movzx edx, word [0x14012e4c0]
mov qword [rsp + 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], 0
mov ecx, 0x88
mov r8, r15
mov r9d, 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14012e4b8], rax
mov rcx, rax
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002cb00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov rbx, rdx
mov edi, ecx
cmp qword [0x14012e520], 0
jne 0x14002cb4d
lea rcx, [0x14002cd60]
call fcn.140044a20
mov qword [0x14012e520], rax
lea rcx, [0x14002cdc0]
call fcn.140044a20
mov qword [0x14012e528], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012e518], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012e518], eax
test edi, edi
mov esi, 1
cmovne esi, edi
add esi, eax
mov ecx, 1
mov edx, 0x18
xor r8d, r8d
call fcn.1400434f0
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], r14
mov dword [rax + 0x10], esi
mov eax, dword [0x14012e518]
mov dword [rdi + 0x14], eax
mov rcx, qword [0x14012e520]
mov rdx, rdi
call fcn.140044b00
cmp rdi, rax
je 0x14002cbab
mov rcx, rdi
call fcn.140043590
jmp 0x14002cbbb
mov rdx, qword [rdi + 8]
mov rcx, qword [0x14012e528]
call fcn.140044b00
mov rcx, qword [0x14012e520]
xor edx, edx
call fcn.140045270
cmp rax, rdi
jne 0x14002cbd6
mov ecx, dword [rdi + 0x10]
call fcn.140007000
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002cc00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
cmp qword [0x14012e520], 0
jne 0x14002cc46
lea rcx, [0x14002cd60]
call fcn.140044a20
mov qword [0x14012e520], rax
lea rcx, [0x14002cdc0]
call fcn.140044a20
mov qword [0x14012e528], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012e518], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012e518], eax
mov rcx, qword [0x14012e520]
xor ebx, ebx
xor edx, edx
call fcn.140045270
test rax, rax
je 0x14002ccec
mov rdi, rax
jmp 0x14002cc9e
mov rcx, qword [0x14012e520]
xor edx, edx
call fcn.1400458d0
mov rcx, rdi
call fcn.140043590
mov rcx, qword [0x14012e520]
xor ebx, ebx
xor edx, edx
call fcn.140045270
mov rdi, rax
test rax, rax
je 0x14002ccec
mov rdx, qword [rdi + 8]
mov rcx, qword [0x14012e528]
xor r8d, r8d
call fcn.1400457e0
test rax, rax
je 0x14002cc70
mov ecx, dword [0x14012e518]
mov ebx, dword [rdi + 0x10]
mov edx, dword [rdi + 0x14]
add edx, 0xfffffff6
sub ecx, edx
mov eax, ebx
sub eax, edx
cmp ecx, eax
jbe 0x14002cce8
mov rcx, qword [0x14012e520]
xor edx, edx
call fcn.1400458d0
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call qword [rdi]
jmp 0x14002cc7e
mov dword [rsi], ebx
mov bl, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140030520
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2a8
mov r14, rcx
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov edx, 0x107
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov rcx, rdi
call fcn.1400d0680
mov word [rsp + rax + 0x50], 0x2a5c
mov byte [rsp + rax + 0x52], 0
lea rdx, [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x1400305c0
mov rdi, rax
lea rbx, [rsp + 0x160]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rcx, rbx
mov edx, 0x140
call r14
mov rcx, rdi
mov rdx, rbx
call rsi
test eax, eax
jne 0x1400305a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
mov edx, 4
call r14
lea rcx, [rsp + 0x30]
mov edx, 0x20
call fcn.1400303d0
test al, al
je 0x140030607
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov edx, 0x20
call r14
mov edx, 0x20
mov rcx, rdi
call fcn.140078e50
mov rcx, r14
call fcn.14003d990
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0x2a8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140030630
Capabilities:
Get memory capacity

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x78], rax
lea rsi, [rsp + 0x78]
mov ecx, 9
mov rdx, rsi
mov r8d, 8
call fcn.140030100
call qword [sym.imp.USER32.dll_GetCapture]
mov qword [rsp + 0x78], rax
mov ecx, 0xa
mov rdx, rsi
mov r8d, 8
call fcn.140030100
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov qword [rsp + 0x78], rax
mov ecx, 0xb
mov rdx, rsi
mov r8d, 8
call fcn.140030100
mov ecx, 0x1cbf
call qword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [rsp + 0x74], eax
lea rdx, [rsp + 0x74]
mov ecx, 0xc
mov r8d, 4
call fcn.140030100
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0xd
mov rdx, rsi
mov r8d, 8
call fcn.140030100
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, 6
mov rdx, rsi
mov r8d, 0x38
call fcn.140030100
lea rsi, [rsp + 0x98]
lea r14, [rsp + 0x90]
lea rdi, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x20], rsi
lea rbx, [rsp + 0x80]
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov ecx, 0xe
mov rdx, rbx
mov r8d, 0x20
call fcn.140030100
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, 0xf
mov rdx, rbx
mov r8d, 0x20
call fcn.140030100
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140036f60
Capabilities:
Get session user name

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov edx, 0x3a
call fcn.1400414f0
cmp byte [rax], 0
je 0x140036f84
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14004a3a0
mov rcx, rsi
mov edx, 0x3b
call fcn.1400412a0
test al, al
je 0x140036f9f
add rsp, 0x20
pop rsi
jmp fcn.14007a3e0
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140038fd0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov ebp, dword [rsp + 0x70]
mov rcx, r8
mov edx, r9d
call fcn.140041360
cmp eax, 1
je 0x14003903c
cmp eax, 2
je 0x140039045
cmp eax, 3
jne 0x14003904e
mov rcx, rbx
mov edx, ebp
call fcn.1400414f0
lea rcx, str.custom:
mov rdx, rax
xor r8d, r8d
call fcn.140042610
mov rbx, rax
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14003cc20
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140043590
lea r8, str.implicit
jmp 0x140039055
lea r8, str.explicit
jmp 0x140039055
lea r8, str.none
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14003cc20