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

Disassembly:
jmp 0x140181aa0
mov rax, rcx
neg rcx
test rax, 7
je 0x140181abd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140181b18
test al, 7
jne 0x140181ab0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140181ad1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140181b42
test dh, dh
je 0x140181b3c
shr rdx, 0x10
test dl, dl
je 0x140181b36
test dh, dh
je 0x140181b30
shr rdx, 0x10
test dl, dl
je 0x140181b2a
test dh, dh
je 0x140181b24
shr edx, 0x10
test dl, dl
je 0x140181b1e
test dh, dh
jne 0x140181ad1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x1400aadf7
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1400ba120
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140264038]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x140281005]
call fcn.1400aaf2d
call fcn.1400aaa0a
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400ba181
mov eax, 0xffffffff
jmp 0x1400ba28e
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x58]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400ba19e
mov eax, 0xffffffff
jmp 0x1400ba28e
mov eax, 8
imul rax, rax, 0x32
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400ba1c4
mov eax, 0xffffffff
jmp 0x1400ba28e
mov dword [rbp + 0x84], 0
lea r9, [rbp + 0x84]
mov r8d, 0x40
mov edx, 0x3e8
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ba1f8
mov eax, 0xffffffff
jmp 0x1400ba28e
mov eax, 1
imul rax, rax, 0x38
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
cmp eax, 0x41
je 0x1400ba215
mov eax, 0xffffffff
jmp 0x1400ba28e
lea rax, section..data
add rax, 3
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
lea rcx, [0x1400aaf0a]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
add rax, 0x2d
mov r8d, 0xd
lea rdx, section..data
mov rcx, rax
call fcn.1400ae7b8
mov rax, qword [rbp + 0x68]
add rax, 0x3c
mov qword [0x1402665e0], rax
mov rax, qword [0x1402665f0]
mov qword [0x1402665e8], rax
mov r8, qword [0x1402665e8]
mov rdx, qword [0x1402665e0]
lea rcx, str.__g_ClientCopyDDEIn1_ContinueAddr:_p__g_BitMapAddr:_p_n
call fcn.1400aca80
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140213500]
call fcn.1400af244
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400ab6df
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1400ab0ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140120180
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 0x1400ab63f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401bd460
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401bc450
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401bd49f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x140282020]
jmp 0x1401bd4ae
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400aba90
Capabilities:
Create process on windows

Disassembly:
jmp 0x1401f5dc0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
lea rcx, [rsp + 0xe0]
call fcn.1400af951
lea rcx, [rsp + 0xb0]
call fcn.1400af951
lea rcx, [rsp + 0x80]
call fcn.1400af951
call fcn.1400af249
mov r8d, eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x120]
call fcn.1400aabf9
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401f5e62
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x80]
call fcn.1400af546
lea rcx, [rsp + 0xb0]
call fcn.1400af546
lea rcx, [rsp + 0xe0]
call fcn.1400af546
mov eax, dword [rsp + 0x54]
jmp 0x1401f5ffe
call fcn.1400af249
mov r8d, eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x128]
call fcn.1400aabf9
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1401f5ec2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x80]
call fcn.1400af546
lea rcx, [rsp + 0xb0]
call fcn.1400af546
lea rcx, [rsp + 0xe0]
call fcn.1400af546
mov eax, dword [rsp + 0x5c]
jmp 0x1401f5ffe
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x158], 0
je 0x1401f5f48
call fcn.1400af249
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x158]
call fcn.1400aabf9
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401f5f36
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x80]
call fcn.1400af546
lea rcx, [rsp + 0xb0]
call fcn.1400af546
lea rcx, [rsp + 0xe0]
call fcn.1400af546
mov eax, dword [rsp + 0x64]
jmp 0x1401f5ffe
lea rcx, [rsp + 0x80]
call fcn.1400aa037
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb0]
call fcn.1400aa037
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe0]
call fcn.1400aa037
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x148]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x80]
call fcn.1400af546
lea rcx, [rsp + 0xb0]
call fcn.1400af546
lea rcx, [rsp + 0xe0]
call fcn.1400af546
mov eax, dword [rsp + 0x68]
add rsp, 0x118
ret

Function at 0x1400abc07
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400b99e4
mov r10, rcx
mov eax, 0x109d
syscall
ret
Function at 0x1400ac058
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401f8c70
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140264038]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1401f8c96
jmp 0x1401f8d13
mov rcx, qword [rbp + 0x30]
call fcn.1400aa59b
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1401f8caf
jmp 0x1401f8d13
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401f8ccc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400aa069
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.1400ad999
test eax, eax
jne 0x1401f8d13
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400ab6df
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400ac3b9
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401e5bec
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401e5cd4
mov rsi, rax
cmp word [rax], r14w
je 0x1401e5c3f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401e5c27
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401e5c23
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1400aea10
movsxd rbp, eax
test eax, eax
je 0x1401e5cd4
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.1400ac657
mov rdi, rax
test rax, rax
je 0x1401e5cc2
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400aea10
test eax, eax
je 0x1401e5cc2
mov rsi, rdi
mov rdi, r14
jmp 0x1401e5cc5
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.1400aece5
jmp 0x1401e5cd7
mov rsi, r14
test rbx, rbx
je 0x1401e5ce5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400ad133
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140142570
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140141f40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401425b1
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 [0x140282020]
jmp 0x1401425b7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400ada5c
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400b99ce
mov r10, rcx
mov eax, 0x1058
syscall
ret

Function at 0x1400adc28
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400e8e40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1400e8e68
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1400e8eb2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1400e8e5d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400adc2d
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401cbfd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x1400adfac
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401fe570
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.1400af951
lea rcx, [rsp + 0x40]
call fcn.1400af951
call fcn.1400af249
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.1400aabf9
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401fe5df
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.1400af546
lea rcx, [rsp + 0x70]
call fcn.1400af546
mov eax, dword [rsp + 0x24]
jmp 0x1401fe66c
call fcn.1400af249
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.1400aabf9
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401fe626
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.1400af546
lea rcx, [rsp + 0x70]
call fcn.1400af546
mov eax, dword [rsp + 0x2c]
jmp 0x1401fe66c
lea rcx, [rsp + 0x40]
call fcn.1400aa037
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.1400aa037
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400af546
lea rcx, [rsp + 0x70]
call fcn.1400af546
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret

Function at 0x1400ae105
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401426b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140142000
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401426f9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140282020]
jmp 0x140142708
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400ae20e
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400b99c3
mov r10, rcx
mov eax, 0x10f1
syscall
ret

Function at 0x1400ae75e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401c8504
jmp fcn.1400abd92
Function at 0x1400ae7cc
Capabilities:
Parse pe header

Disassembly:
jmp 0x140121710
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140121730
xor al, al
jmp 0x1401217b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140121743
xor al, al
jmp 0x1401217b1
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 0x14012176d
xor al, al
jmp 0x1401217b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140121781
xor al, al
jmp 0x1401217b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140121793
xor al, al
jmp 0x1401217b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401217af
xor al, al
jmp 0x1401217b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400aec86
Capabilities:
Terminate process

Disassembly:
jmp 0x14017fe30
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 0x14017fe5e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400aef06
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 0x1400aef7e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140142640
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140141fc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14014267f
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 [0x140282020]
jmp 0x140142689
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400af0aa
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401bd340
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401bc390
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401bd377
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x140282020]
jmp 0x1401bd37d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x1400af271
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400b9ad0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x60]
mov rdi, rsp
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140264038]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x140281005]
call fcn.1400aaf2d
mov qword [rbp + 8], 0
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x50
mov dword [rbp + 0x34], 3
lea rax, [0x1400ae010]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x48], 0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1400b9b92
xor eax, eax
jmp 0x1400b9c11
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
mov r8, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x170]
mov ecx, 0x300
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 8], rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140213580]
call fcn.1400af244
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400ab6df
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x1400af32a
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400b99d9
mov r10, rcx
mov eax, 0x1017
syscall
ret

Function at 0x1400af352
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401bd610
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401bc590
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401bd663
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x140282020]
jmp 0x1401bd685
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400aca2b
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret
Function at 0x1400c6a40
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140264038]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x140281026]
call fcn.1400aaf2d
mov rax, qword [0x140266640]
add rax, 0xd8
mov rcx, qword [0x140266638]
add rcx, 0x128
sub rax, rcx
mov dword [rbp + 4], eax
mov edx, dword [rbp + 4]
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
add eax, 4
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
add eax, 8
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
add eax, 0xc
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x84], eax
xor r8d, r8d
mov edx, dword [rbp + 4]
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 4
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 8
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 0xc
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rax, [rbp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc8
rep stosb byte [rdi], al
mov r8d, 0x64
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x140266630]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp + 0xb0]
lea rcx, str.__text:_ws_n
call fcn.1400aca80
lea rcx, [rbp + 0xb0]
call fcn.1400ae632
test rax, rax
jne 0x1400c6c11
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 4
mov r8d, dword [rbp + 0x44]
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 8
mov r8d, dword [rbp + 0x64]
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 0xc
mov r8d, dword [rbp + 0x84]
mov edx, eax
mov rcx, qword [0x140266628]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 1
jmp 0x1400c6c13
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140214240]
call fcn.1400af244
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1400ab6df
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x14000172c
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
lea rdx, str.._
xor eax, eax
mov rdi, rcx
lea rcx, [rbp]
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x68], xmm0
mov qword [rsp + 0x50], rax
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rsp + 0x40], xmm0
call fcn.140002358
lea r8, str.pipe_wspipe_spoolss
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.1400023c4
lea rdx, [0x140006458]
lea rcx, [rbp - 0x20]
call fcn.140002358
lea r8, [0x140006460]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1400023c4
lea r8, str.ICI_GA___WD_
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400023c4
mov ecx, 0x208
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000186a
cmp qword [rbp - 0x70], 8
lea r8, [rsp + 0x78]
mov r9, rdi
mov edx, 0x104
cmovae r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.14000105c
mov edi, 1
lea rcx, [rbp - 0x68]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x140001828
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.InitializeSecuriAtyDescriptor___failed._Error:__d_n
jmp 0x14000185a
cmp qword [rsp + 0x70], 8
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov edx, edi
cmovae rcx, qword [rsp + 0x58]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x1400018bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ConvertStringSecuriAtyDescriptorToSecurityDescriptor___failed._Error:__d_n
mov edx, eax
call fcn.140001008
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
lea rcx, [rsp + 0x58]
call fcn.1400022f4
lea rcx, [rbp - 0x40]
call fcn.1400022f4
lea rcx, [rbp - 0x20]
call fcn.1400022f4
lea rcx, [rsp + 0x78]
call fcn.1400022f4
lea rcx, [rbp]
call fcn.1400022f4
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140002bf0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rax, [rsp + 0x40]
mov r9d, 0xa
mov qword [rsp + 0x38], rax
xor r8d, r8d
and dword [rsp + 0x30], 0
mov eax, 0x800
mov dword [rsp + 0x28], eax
mov edx, 0x40000003
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000190d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNaAmedPipe___failed._Error:__d_n
jmp 0x14000185a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000186c
Function at 0x14000191c
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov rdi, rcx
xorps xmm0, xmm0
xor r8d, r8d
xor ecx, ecx
movdqu xmmword [rsp + 0x28], xmm0
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
jne 0x140001973
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateAEvent___failed._Error:__d_n
mov edx, eax
call fcn.140001008
xor eax, eax
jmp 0x1400019b8
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbx
mov rcx, rdi
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400019b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400019b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ConneActNamedPipe___failed._Error:__d_n
jmp 0x140001968
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002bf0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret