joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dd2e6
Capabilities:
Query environment variable

Disassembly:
jmp 0x14026ea60
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14026e5e0
lea rcx, [rsp + 0x20]
call fcn.14026e630
movzx eax, al
test eax, eax
jne 0x14026eaa5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14026e610
mov rax, qword [rsp + 0x40]
jmp 0x14026eb9f
lea rcx, [rsp + 0x20]
call fcn.14026e730
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14026e6d0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400dd7e1
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400dc9e5
lea rcx, [rsp + 0x28]
call fcn.1400dde71
movzx eax, al
test eax, eax
jne 0x14026eb3f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400df95b
lea rcx, [rsp + 0x20]
call fcn.14026e610
mov rax, qword [rsp + 0x50]
jmp 0x14026eb9f
lea rcx, [rsp + 0x20]
call fcn.14026e730
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e0f0e
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400dd6dd
lea rcx, [rsp + 0x28]
call fcn.1400e1bde
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400df95b
lea rcx, [rsp + 0x20]
call fcn.14026e610
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400dd4fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140108a90
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x140351038]
call fcn.1400e103a
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140108adf
xor eax, eax
jmp 0x140108b8a
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140108afb
xor eax, eax
jmp 0x140108b8a
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x190]
and eax, 0xf
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jbe 0x140108b69
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jae 0x140108b69
mov rax, qword [rbp + 8]
movzx eax, word [rax]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*2 + 2]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
jmp 0x140108b32
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jb 0x140108b77
xor eax, eax
jmp 0x140108b8a
mov rax, qword [rbp + 8]
movzx eax, word [rax]
test eax, eax
jne 0x140108b86
xor eax, eax
jmp 0x140108b8a
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400dd6f6
Capabilities:
Get file system object information

Disassembly:
jmp 0x14015ff10
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x4d8]
mov rax, qword [0x140329a40]
xor rax, rbp
mov qword [rbp + 0x478], rax
lea rcx, [0x1403510b0]
call fcn.1400e103a
cmp qword [0x14032f048], 0
je 0x14015ff6f
cmp qword [0x14032f050], 0
jne 0x14015fff5
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x2b8
rep stosb byte [rdi], al
mov dword [rsp + 0x20], VarUI4FromDisp
mov r9d, 0x2b8
lea r8, [rbp + 0x10]
mov edx, 0x80
lea rcx, str..exe
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x10]
mov qword [0x14032f048], rax
mov r8d, 0x2b8
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400df370
mov dword [rsp + 0x20], pe_nt_image_headers64
mov r9d, 0x2b8
lea r8, [rbp + 0x10]
mov edx, 0x80
lea rcx, str..exe
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rax, qword [rbp + 0x10]
mov qword [0x14032f050], rax
cmp dword [rbp + 0x4a0], 0
je 0x140160009
mov rax, qword [0x14032f048]
jmp 0x140160010
mov rax, qword [0x14032f050]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1402b59d0]
call fcn.1400dfc67
mov rax, rdi
mov rcx, qword [rbp + 0x478]
xor rcx, rbp
call fcn.1400dd6a1
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret
Function at 0x1400dd868
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140107ea0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x140351048]
call fcn.1400e103a
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140107f16
lea rax, str.::IsWindow_m_hWnd_
mov qword [rsp + 0x28], rax
lea rax, [0x1402abb38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x5b3
lea rdx, [0x1402ae260]
mov ecx, 2
call fcn.1400daca8
cmp eax, 1
jne 0x140107f16
int3
mov r8d, dword [rbp + 0x168]
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x160]
call fcn.1400e0815
mov rcx, rax
call fcn.1400dc76f
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140107f96
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
inc eax
mov edx, eax
mov rcx, qword [rbp + 0x170]
call fcn.1400dd589
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x24]
inc eax
mov r8d, eax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rbp + 0x24], eax
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x170]
call fcn.1400dca12
mov eax, dword [rbp + 0x24]
jmp 0x140107fa4
mov rcx, qword [rbp + 0x170]
call fcn.1400df802
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x1400dda16
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401cbb50
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401cb4d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401cbb8f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140354020]
jmp 0x1401cbb99
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400ddd90
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401cba80
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401cb450
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401cbac1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140354020]
jmp 0x1401cbac7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400dde7b
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402597b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1402586e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140259817
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140354030]
jmp 0x140259839
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400dcc1a
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400ddea3
Capabilities:
Terminate process

Disassembly:
jmp 0x1401a6f00
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 0x1400de33f
Capabilities:
Create thread

Disassembly:
jmp 0x140146470
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x1403510b2]
call fcn.1400e103a
mov rax, qword [rbp + 0x120]
add rax, 8
lea rdx, [rbp + 0xc8]
mov rcx, rax
call fcn.1400e0e37
mov rcx, rax
call fcn.1400dc76f
mov rcx, qword [rbp + 0x120]
add rcx, 8
mov rdx, rax
call fcn.1400df14a
mov rax, qword [rbp + 0x120]
add rax, 8
mov r8d, 0x445
lea rdx, [rbp + 0xe8]
mov rcx, rax
call fcn.1400e0815
mov rcx, rax
call fcn.1400dc76f
mov rcx, qword [rbp + 0x120]
add rcx, 0x48
mov rdx, rax
call fcn.1400ddc82
mov rax, qword [rbp + 0x120]
add rax, 0x48
mov r8d, 0x64
xor edx, edx
mov rcx, rax
call fcn.1400e1251
mov rax, qword [rbp + 0x120]
mov dword [rax + 0x50], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x120]
lea r8, [0x1400dcd2d]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp + 0x120]
mov qword [rcx + 0x58], rax
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400de34e
Capabilities:
Print debug messages

Disassembly:
jmp 0x14027b950
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140329a40]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14027b976
jmp 0x14027b9f3
mov rcx, qword [rbp + 0x30]
call fcn.1400dd27d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14027b98f
jmp 0x14027b9f3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14027b9ac
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400db464
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400dbd10
test eax, eax
jne 0x14027b9f3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400dd6a1
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400de362
Capabilities:
Set registry value

Disassembly:
jmp 0x14015bb40
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1403510a5]
call fcn.1400e103a
mov rax, qword [rbp + 0x100]
cmp qword [rax], 0
jne 0x14015bbba
mov eax, dword [0x14032707c]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402abb38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1402b9570]
mov ecx, 2
call fcn.1400daca8
cmp eax, 1
jne 0x14015bbba
int3
xor eax, eax
test eax, eax
jne 0x14015bb6e
cmp qword [rbp + 0x110], 0
je 0x14015bbd6
mov dword [rbp + 0xd4], 1
jmp 0x14015bbe0
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14015bc2f
mov eax, dword [0x14032707c]
add eax, 2
lea rcx, str.__atl_condVal
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402abb38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1402b9570]
mov ecx, 2
call fcn.1400daca8
cmp eax, 1
jne 0x14015bc2f
int3
cmp dword [rbp + 4], 0
jne 0x14015bc3f
mov eax, 0xd
jmp 0x14015bcdf
xor eax, eax
test eax, eax
jne 0x14015bbc0
cmp dword [rbp + 0x118], 1
je 0x14015bc9b
cmp dword [rbp + 0x118], 2
je 0x14015bc9b
mov eax, dword [0x14032707c]
add eax, 3
lea rcx, str._dwType____1ul______dwType____2ul___
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402abb38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1402b9570]
mov ecx, 2
call fcn.1400daca8
cmp eax, 1
jne 0x14015bc9b
int3
mov rcx, qword [rbp + 0x110]
call fcn.1400da762
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x118]
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400de3cb
Capabilities:
Get disk information

Disassembly:
jmp 0x140177bb0
push rbp
push rsi
push rdi
sub rsp, 0xa40
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1c8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140329a40]
xor rax, rbp
mov qword [rbp + 0xa18], rax
lea rcx, [0x1403515ac]
call fcn.1400e103a
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0x998], rax
cmp qword [rbp + 0x998], 0x400
jae 0x140177c0d
jmp 0x140177c12
call fcn.1400df06e
xor eax, eax
mov rcx, qword [rbp + 0x998]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140177d14
lea rax, [rbp + 0x654]
lea rcx, [0x1402c3870]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x10]
mov qword [rbp + 0x678], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0x678]
movzx ecx, word [rcx]
mov word [rbp + rax + 0x654], cx
mov r8d, 0x104
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x654]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140177cd2
lea r8, [rbp + 0x654]
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x9b8]
call fcn.1400dfe3d
mov r8, rax
lea rdx, [rbp + 0x9e8]
lea rcx, [0x14032f3c0]
call fcn.1400deb96
lea rcx, [rbp + 0x9e8]
call fcn.1400dcaf8
mov rax, qword [rbp + 0x678]
movzx eax, word [rax]
mov word [rbp + 0xa14], ax
mov rax, qword [rbp + 0x678]
add rax, 2
mov qword [rbp + 0x678], rax
movzx eax, word [rbp + 0xa14]
test eax, eax
je 0x140177d02
jmp 0x140177cd2
mov rax, qword [rbp + 0x678]
movzx eax, word [rax]
test eax, eax
jne 0x140177c5d
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402c2e50]
call fcn.1400dfc67
mov rax, rdi
mov rcx, qword [rbp + 0xa18]
xor rcx, rbp
call fcn.1400dd6a1
lea rsp, [rbp + 0xa20]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400de6e6
Capabilities:
Get file version info

Disassembly:
jmp 0x14017a8d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140329a40]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x1403515ac]
call fcn.1400e103a
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x170]
call fcn.1400db0f9
lea rdx, [rbp + 0x64]
mov rcx, rax
call fcn.1400e013f
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x14017a95f
xor eax, eax
jmp 0x14017aa32
mov eax, dword [rbp + 0x44]
mov qword [rbp + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x138]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14017a996
xor eax, eax
jmp 0x14017aa32
mov rcx, qword [rbp + 0x170]
call fcn.1400db0f9
mov r9, qword [rbp + 0x28]
mov r8d, dword [rbp + 0x44]
xor edx, edx
mov rcx, rax
call fcn.1400e10b2
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14017aa1a
lea rdx, [0x1402c3a90]
mov rcx, qword [rbp + 0x28]
call fcn.1400e07bb
mov rdx, rax
mov rcx, qword [rbp + 0x178]
call fcn.1400debaa
lea rdx, str.CompanyName
mov rcx, qword [rbp + 0x28]
call fcn.1400e07bb
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call fcn.1400debaa
lea rdx, [0x1402c3ad8]
mov rcx, qword [rbp + 0x28]
call fcn.1400e07bb
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call fcn.1400debaa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402c25c0]
call fcn.1400dfc67
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.1400dd6a1
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400de862
Capabilities:
Create process on windows

Disassembly:
jmp 0x140149c90
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
lea rcx, [0x1403510b0]
call fcn.1400e103a
mov rax, qword [rbp + 0x120]
cmp dword [rax + 0x278], 0xffffffff
je 0x140149d9f
lea rcx, [rbp + 8]
call fcn.1400de76d
nop
mov rax, qword [rbp + 0x120]
add rax, 0xb8
lea r9, [rbp + 8]
mov r8d, 5
mov rcx, qword [rbp + 0x120]
mov edx, dword [rcx + 0x278]
mov rcx, rax
call fcn.1400dc972
lea rcx, [rbp + 8]
call fcn.1400dbb26
movzx eax, al
test eax, eax
jne 0x140149d96
lea rcx, [rbp + 0x28]
call fcn.1400de76d
nop
lea rcx, [rbp + 8]
call fcn.1400db531
mov r8, rax
lea rdx, str._select__s
lea rcx, [rbp + 0x28]
call fcn.1400de281
lea rcx, [rbp + 0x28]
call fcn.1400db0f9
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.explorer.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rbp + 0x28]
call fcn.1400dbf6d
nop
lea rcx, [rbp + 8]
call fcn.1400dbf6d
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x1402b8220]
call fcn.1400dfc67
mov eax, edi
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400de8e4
Capabilities:
Set environment variable

Disassembly:
jmp 0x140270910
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x1400decb8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401a88a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401a88c0
xor al, al
jmp 0x1401a8941
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401a88d3
xor al, al
jmp 0x1401a8941
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 0x1401a88fd
xor al, al
jmp 0x1401a8941
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401a8911
xor al, al
jmp 0x1401a8941
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401a8923
xor al, al
jmp 0x1401a8941
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401a893f
xor al, al
jmp 0x1401a8941
mov al, 1
add rsp, 0x38
ret
Function at 0x1400df465
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14014b6c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140351097]
call fcn.1400e103a
mov rax, qword [rbp + 0x120]
mov dword [rax], 0
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x118], 0x12
je 0x14014b743
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x118], 0x79
jne 0x14014b72f
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
test eax, eax
je 0x14014b743
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x118], 0x20
jne 0x14014b860
cmp qword [rbp + 0x110], 0xf100
jne 0x14014b860
mov rax, qword [rbp + 0x100]
mov qword [rbp + 8], rax
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, qword [rbp + 0x100]
cmp rax, qword [rcx + 8]
jne 0x14014b7a2
mov rcx, qword [rbp + 8]
call fcn.1400dc6ac
mov rax, qword [rbp + 0x100]
add rax, 8
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov edx, 0x448
mov rcx, rax
call fcn.1400df145
jmp 0x14014b860
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x118], 0x20
je 0x14014b843
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xf0]
shr al, 6
and al, 1
movzx eax, al
test eax, eax
jne 0x14014b843
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xf1]
shr al, 1
and al, 1
movzx eax, al
test eax, eax
je 0x14014b82b
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xf1]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
jne 0x14014b82b
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xf1]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je 0x14014b82b
mov dl, 1
mov rcx, qword [rbp + 0x100]
call fcn.1400e0cca
mov rcx, qword [rbp + 8]
call fcn.1400df104
mov rax, qword [rbp + 0x120]
mov dword [rax], 1
jmp 0x14014b860
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x118], 0x20
je 0x14014b860
mov rax, qword [rbp + 0x120]
mov dword [rax], 1
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xf0]
and al, 0xbf
mov rcx, qword [rbp + 0x100]
mov byte [rcx + 0xf0], al
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400df7d0
Capabilities:
Terminate process

Disassembly:
jmp 0x1401cce40
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401cce6e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400e0838
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e01f3
Capabilities:
Delete registry key

Disassembly:
jmp 0x140154460
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x14035109e]
call fcn.1400e103a
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x14015454f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401544f2
mov eax, dword [0x140327060]
add eax, 4
lea rcx, str.hAdvAPI32___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402abb38]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.38.33130_atlmfcinclude_atltransactionmanager.h
mov ecx, 2
call fcn.1400daca8
cmp eax, 1
jne 0x1401544f2
int3
cmp qword [rbp + 8], 0
jne 0x140154500
mov eax, 1
jmp 0x140154577
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14015454d
mov qword [rsp + 0x28], 0
mov rax, qword [rbp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call qword [rbp + 0x28]
jmp 0x140154577
jmp 0x140154572
mov rax, qword [rbp + 0x120]
cmp dword [rax + 8], 0
je 0x140154572
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140154577
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret