joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801237c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18034fab8]
cmp eax, dword [0x1802c23b0]
jb 0x18012390b
movabs rax, 0x50fac3a3e030a6e1
mov qword [rsp + 0x40], rbx
mov qword [0x18034fb78], rax
xor ebx, ebx
mov eax, dword [0x18033feb8]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x58]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], ebx
mov dword [0x1802da4f0], 1
call fcn.1800cf390
mov qword [rsp + 0x58], rbx
mov ecx, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov dword [rsp + 0x58], ecx
mov qword [0x18034fb78], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rbx
mov qword [0x1802da5c8], rax
mov dword [rsp + 0x58], ebx
mov rax, qword [rsp + 0x58]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], ebx
mov dword [0x1802da4f0], 2
call fcn.1800cf390
mov r8, qword [0x18034fb70]
movsd xmm1, qword [rax + 0x10]
movups xmm2, xmmword [rax]
mov rax, qword [r8 + 0x50]
movsd qword [rsp + 0x30], xmm1
movss xmm0, dword [rsp + 0x30]
cvtps2pd xmm0, xmm0
movss dword [rax + 0x1173c0], xmm2
addsd xmm0, qword [0x180269e08]
shufps xmm2, xmm2, 0xaa
movss dword [rax + 0x1173c8], xmm2
cvtpd2ps xmm0, xmm0
movss dword [rax + 0x1173d0], xmm0
mov dword [rax + 0x1173b0], 0x7d0
mov rax, qword [r8 + 0x50]
imul ecx, dword [rax + 0x1173a8], 0x55
mov rax, qword [r8 + 0x88]
inc ecx
movsxd rdx, ecx
mov dword [rax + rdx*8 + 0x99e40], 2
mov rax, qword [r8 + 0x50]
mov dword [rax + 0x1173d8], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rsp + 0x40]
mov dword [0x18034fab8], eax
add rsp, 0x48
ret
Function at 0x1801d8960
Capabilities:
Log keystrokes via polling

Disassembly:
movzx ecx, byte [0x180340377]
jmp fcn.18007b0d0

Function at 0x1801dafa0
Capabilities:
Log keystrokes via polling

Disassembly:
movzx ecx, byte [0x180340295]
jmp fcn.180068a50

Function at 0x1801dbe50
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x180340332], 0
je 0x1801dbe76
mov ecx, 0x6d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1801dbe76
add rsp, 0x28
jmp fcn.18007d810
add rsp, 0x28
ret

Function at 0x1801e42f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
movdqa xmm0, xmmword [0x18026ec00]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [str.qrstuvwxyz:.___0123456789__]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x18026ebc0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x18026eb90]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x18026eb70]
movdqa xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], 0x7e235f2d
mov dword [rbp + 0x64], 0x5b29285c
mov dword [rbp + 0x68], 0x247d7b5d
mov word [rbp + 0x6c], 0x2260
mov byte [rbp + 0x6e], 0x3b
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x1801e43a9
mov rax, qword [rcx]
jmp 0x1801e43ac
mov rax, rdi
mov byte [rax], bl
xor r8d, r8d
lea rdx, [0x180204475]
call fcn.18003d620
mov dword [rsp + 0x20], 1
movdqa xmm0, xmmword [0x18026e7c0]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x18026e9d0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x18026e940]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x18026e6e0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x18026e540]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x18026ea60]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x18026e9f0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x18026ead0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x18026eaf0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x18026ea50]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm0, xmmword [0x18026e8e0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x18026e8a0]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x18026e7b0]
movdqa xmmword [rbp], xmm0
lea rsi, [rsp + 0x40]
mov ecx, dword [rsi]
test ecx, ecx
jne 0x1801e4482
mov r8b, 0x20
jmp 0x1801e448d
dec ecx
movsxd rdx, ecx
movzx r8d, byte [rbp + rdx + 0x10]
mov edx, 1
mov rcx, rdi
call fcn.18003cf70
inc ebx
add rsi, 4
cmp ebx, 0x34
jb 0x1801e4477
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1801e6190
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1801e4bac
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1801e4c10
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1801e4bfe
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801e4bf7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1801e4bcb
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180347ee0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1801e4c20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov r14d, edx
imul rbx, rax, 0x38
mov esi, 5
add rbx, qword [0x18034fe50]
test byte [rbx + 0x20], 1
mov rdi, qword [rbx]
je 0x1801e4c5b
sub rdi, rsi
mov esi, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801e4c80
mov eax, 0xa
jmp 0x1801e4d0a
test r14d, r14d
je 0x1801e4ca3
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801e4cc4
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801e4cc4
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801e4cbe
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801e4cc4
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and dword [rbx + 0x20], 0xfffffff9
and r14d, 1
mov ecx, r14d
and ecx, 0xfffffffd
lea eax, [r14 + r14]
or ecx, eax
add ecx, ecx
or dword [rbx + 0x20], ecx
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1801e52c4
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9, rcx
test r8b, r8b
je 0x1801e52de
cmp r8b, 0x90
je 0x1801e52de
cmp r8b, 0xcc
je 0x1801e52de
xor eax, eax
ret
mov r10d, 1
mov ecx, r10d
cmp edx, r10d
jbe 0x1801e52fb
mov eax, ecx
cmp byte [rax + r9], r8b
jne 0x1801e52db
add ecx, r10d
cmp ecx, edx
jb 0x1801e52ec
mov eax, r10d
ret
Function at 0x1801e5698
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
mov r15, qword [rbp - 0x50]
cmp rdi, 0x40000000
jbe 0x1801e56e6
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18034fe40]
lea rax, [rdi + 0x40000000]
cmp r15, rax
cmova r15, rax
sub r15, 0xfff
test rbx, rbx
je 0x1801e5721
cmp rbx, r14
jb 0x1801e571c
cmp rbx, r15
jae 0x1801e571c
cmp qword [rbx + 8], 0
jne 0x1801e5877
mov rbx, qword [rbx]
jmp 0x1801e5702
mov rsi, rdi
cmp rdi, r14
jb 0x1801e579e
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, rsi
div r12
sub rsi, rdx
jmp 0x1801e5764
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801e576c
cmp dword [rbp - 0x10], 0x10000
je 0x1801e576e
mov rsi, qword [rbp - 0x28]
cmp rsi, r12
jb 0x1801e576c
sub rsi, r12
cmp rsi, r14
jae 0x1801e573a
xor esi, esi
test rsi, rsi
je 0x1801e579e
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1801e5837
cmp rsi, r14
jae 0x1801e5729
test rbx, rbx
jmp 0x1801e582a
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801e5803
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801e5803
cmp dword [rbp - 0x10], 0x10000
je 0x1801e5805
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jbe 0x1801e57c6
xor edi, edi
test rdi, rdi
je 0x1801e5877
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1801e5837
cmp rdi, r15
jbe 0x1801e57a6
jmp 0x1801e5877
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x1801e584a
mov rax, qword [0x18034fe40]
mov qword [rbx], rax
mov qword [0x18034fe40], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1801e79b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov eax, 0x35
movaps xmmword [rsp + 0x30], xmm7
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rcx
movsd xmm8, qword [0x180202778]
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1801e79e9
addsd xmm6, xmm8
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm6, qword [0x180202770]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm7, xmm7
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x1801e7b23
mov qword [rsp + 0x60], rbp
movabs rbp, 0x38eb3ffff6d3
mov qword [rsp + 0x68], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x70], rdi
mov edi, eax
mov eax, dword [rbx]
cmp eax, 0x138
jne 0x1801e7a9c
lea r8, [rbx + 0x10]
mov r9d, eax
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1801e7a60
jmp 0x1801e7aab
cmp eax, 0x270
jb 0x1801e7aab
mov rcx, rbx
call fcn.1801e9100
mov eax, dword [rbx]
xorps xmm1, xmm1
mov rcx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rax, rcx
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rbp
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
cvtsi2sd xmm1, rax
jns 0x1801e7afd
addsd xmm1, xmm8
mulsd xmm1, xmm6
mulsd xmm6, xmm8
addsd xmm7, xmm1
sub rdi, 1
jne 0x1801e7a45
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret

Function at 0x1801e9100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
lea r9, [rcx + 0x9c8]
movabs rbx, 0xb5026f5aa96619e9
mov r11d, 0x9c
nop
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 + 0x4d8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1801e9120
lea r9, [r10 + 0xea8]
mov r11d, 0x9b
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 - 0xea8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1801e9170
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], r11d
ret
Function at 0x1801e9be0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801e9c8f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x1801e9d57
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1801e9d45
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jb 0x1801e9d45
shr ecx, 1
je 0x1801e9d03
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
nop
cmp word [rax], 0x2f
jne 0x1801e9cf9
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x1801e9cf0
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.1801e9a70
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1801e96d0
jmp 0x1801e9d5f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.1801e9d80
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1801e6190
add rsp, 0xae0
pop rbx
ret
Function at 0x1801e9e20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1802029d0]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x1802029d4]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x1802029b8]
mov word [rsp + 0x6c], ax
mov eax, 0x30
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x1802029c8]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1801e9f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1801e9ed8
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x1801e9f47
inc ax
mov word [rsp + 0x6a], ax
jmp 0x1801e9ef3
cmp eax, 0xe7
jne 0x1801e9f47
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1801e9f47
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1801e9eb8
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1801e6190
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x1801e9f29

Function at 0x1801e9f50
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1801e9f70
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1801e9f66
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1801e9f66
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1801e9ffb
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x1801ea010
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, edi
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1801e9fe4
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.1801e9dd0
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801ea020
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x1801ea036
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x1801ea043
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1801ea03b
test rdx, rdx
je 0x1801ea03b
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1801ea07a
cmp dword [rsp + 0x50], edi
jne 0x1801ea07a
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131d0
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 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014520
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014540
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014553
xor al, al
jmp 0x1400145c1
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 0x14001457d
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014591
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145a3
xor al, al
jmp 0x1400145c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145bf
xor al, al
jmp 0x1400145c1
mov al, 1
add rsp, 0x38
ret
Function at 0x412a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412c06
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x004d9128]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x0054d3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412acb
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412ae0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x412b05
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412b19
cmp rbx, 0x1000
jae 0x412ad5
nop dword [rax]
jmp 0x412b89
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x412b2d
xor edx, edx
jmp 0x412b80
mov rcx, qword [0x004d9128]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x0054d3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x412b0f
jmp 0x412af4
call fcn.0045a4c0
xorps xmm15, xmm15
mov r14, qword [0x0054d3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004319e0
lea rax, [0x00478975]
mov ebx, 0x18
call fcn.004322e0
mov rax, qword [rsp + 0x38]
call fcn.00431fe0
lea rax, [0x00478a35]
mov ebx, 0x19
call fcn.004322e0
mov rax, qword [rsp + 0x30]
nop
call fcn.00431fe0
call fcn.00431c40
call fcn.00431a60
lea rax, [0x0047a2a4]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.004300a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00456960
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00412a60