joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b3d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r9], 0
lea rax, [r11 + 8]
and dword [rsp + 0x40], 0
mov rbx, r9
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
mov rdi, r8
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
test r8d, r8d
jne 0x14000b479
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000b47d
mov ecx, eax
call fcn.140037c60
lea rcx, [rsp + 0x40]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
mov r9, rdi
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov edx, eax
mov eax, r8d
mov qword [rcx], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x14000b4a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
and dword [rsp + 0x58], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000b4e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000b5a0
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovb rax, rcx
mov rcx, rax
call fcn.140037c60
mov qword [rdi], rax
cmp dword [rsp + 0x50], r14d
je 0x14000b59c
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000b5a0
mov word [rax], r14w
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b5b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rbx, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14000b6c0
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000b6b8
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000b6d5
mov rax, qword [rbx]
mov ecx, dword [rax - 0xc]
sub r8d, dword [rax - 8]
sub ecx, edx
or r8d, ecx
jge 0x14000b646
mov rcx, rbx
call fcn.140001b94
mov rax, qword [rbx]
test rax, rax
jne 0x14000b655
mov edi, 0x8007000e
jmp 0x14000b687
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000b694
mov eax, r14d
jmp 0x14000b6a1
movsxd rdx, dword [rcx - 0xc]
call fcn.14003042c
test eax, eax
js 0x14000b6d5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000b6d5
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000b6c0
mov rcx, rbx
call fcn.140001910
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.1400013e0
int3

Function at 0x14000b7ec
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000b82c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov esi, r9d
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 8]
mov r9d, esi
xor r8d, r8d
mov rdx, rbp
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov ecx, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x30
pop rdi
ret
Function at 0x14000bd24
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x18], 0
lea rsi, [0x140045c28]
mov rbx, rdx
mov qword [rbp - 0x20], rsi
mov rdx, qword [rcx + 8]
mov r9d, 0x10001
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x10], 0x200
mov dword [rsp + 0x20], 8
call fcn.14000b0a0
mov rcx, qword [rbp - 0x18]
test eax, eax
jns 0x14000bd77
mov dword [rbx], eax
jmp 0x14000bdb7
and qword [rsp + 0x28], 0
lea r9, [rbp + 0x10]
and qword [rsp + 0x20], 0
lea rdx, str.SymbolicLinkValue
and dword [rbp + 0x10], 0
xor r8d, r8d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
je 0x14000bddd
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14000bddf
mov dword [rbx], ecx
mov rcx, qword [rbp - 0x18]
mov byte [rbx + 4], 0
mov qword [rbp - 0x20], rsi
test rcx, rcx
je 0x14000bdca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
xor ecx, ecx
cmp dword [rbp + 0x10], 6
jne 0x14000bdb1
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, qword [rbp - 0x18]
bts eax, 0x1c
mov dword [rbx], eax
mov byte [rbx + 4], 1
jmp 0x14000bdbb
Function at 0x14000be00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r8, rdx
lea rdx, [rsp + 0x48]
mov rdi, rcx
call fcn.14000bd24
cmp byte [rsp + 0x4c], 0
je 0x14000be51
mov eax, dword [rsp + 0x48]
jmp 0x14000bf84
mov r9d, dword [rdi + 0x10]
lea rax, [0x140045c28]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x50]
and qword [rsp + 0x58], 0
or r9d, 0xf003f
and dword [rsp + 0x20], 0
mov r8, rsi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 0x200
call fcn.14000b0a0
mov ebx, eax
mov r15d, 1
add eax, 0x7ff8fffe
cmp eax, r15d
jbe 0x14000bf63
test ebx, ebx
jmp 0x14000beb9
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000be00
mov ebx, eax
test eax, eax
jne 0x14000bf66
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000bea6
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000bf1c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0x200
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000bd24
cmp byte [rsp + 0x4c], 0
je 0x14000bf39
mov ebx, dword [rsp + 0x48]
jmp 0x14000bf66
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea eax, [rbx + 0x7ff8fffe]
cmp eax, r15d
cmovbe ebx, r15d
jmp 0x14000bf66
mov ebx, r15d
mov rcx, qword [rsp + 0x58]
lea rax, [0x140045c28]
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14000bf82
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret

Function at 0x14000c288
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov eax, 0x8068
call fcn.140037b40
sub rsp, rax
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x8050], rax
and qword [rsp + 0x38], 0
mov rdi, r8
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x4000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
jne 0x14000c300
lea rcx, [rsp + 0x50]
call fcn.140030300
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001980
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x8050]
xor rcx, rsp
call fcn.140020030
add rsp, 0x8068
pop rdi
pop rbx
ret
Function at 0x14000c374
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x250], rax
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov rdi, r8
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000c3ea
lea rcx, [rsp + 0x50]
call fcn.140030300
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001980
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140020030
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret

Function at 0x14000c85c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x10], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14000c8ed
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14000c8de
mov dword [rbp - 0x20], ebx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140020030
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14000ce34
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
lea rdx, [rsp + 0x58]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000ced9
mov ecx, edi
call fcn.140037c60
mov edx, dword [rsp + 0x58]
mov r9, rax
mov r8d, edi
mov qword [rbx], rax
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbx]
test eax, eax
je 0x14000cecc
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000cec9
cmp dword [rsp + 0x50], 0
je 0x14000cec9
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax]
movzx eax, word [rax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [rbx + 8], ecx
jmp 0x14000cedb
mov rcx, qword [rbx]
call fcn.140020374
and qword [rbx], 0
and dword [rbx + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cfe4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000d03c
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140038590
mov rbx, qword [0x140052c68]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400061cc
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d0b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call fcn.14000d9cc
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x14000d0ed
cmp eax, 1
jne 0x14000d0e3
int3
mov eax, 1
jmp 0x14000d017
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000d9cc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000da59
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000da2e
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140038950
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000da53
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400115e8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x68]
mov rdi, rdx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r10d, dword [rsp + 0x24]
lea r8, [r10 - 1]
not r8
and r8, rdi
je 0x14001166c
mov rdx, qword [rbx + 0x18]
xor r11d, r11d
mov r9, qword [rdx + 8]
mov rcx, rdx
cmp byte [r9 + 0x19], r11b
jne 0x140011656
mov rax, r9
cmp qword [rax + 0x20], r8
jae 0x14001164a
mov rax, qword [rax + 0x10]
jmp 0x140011650
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r11b
je 0x14001163e
cmp byte [rcx + 0x19], r11b
jne 0x140011667
cmp r8, qword [rcx + 0x20]
jb 0x140011667
cmp rcx, rdx
jne 0x14001167f
sub r8, r10
jne 0x140011632
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
mov rcx, qword [rcx + 0x40]
add rcx, r8
cmp rdi, rcx
sbb rax, rax
and rax, r8
jmp 0x14001166e
Function at 0x140011a0c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
xorps xmm0, xmm0
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
movaps xmmword [rax - 0x38], xmm7
lea rcx, [rbp - 0x19]
movaps xmmword [rax - 0x48], xmm8
movups xmmword [rbp - 0x19], xmm0
mov r15, rdx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
and qword [rdi + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xor edx, edx
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
jmp 0x140011b6b
cmp dword [rbp - 0x29], 0x1000
jne 0x140011b60
movups xmm6, xmmword [rbp - 0x49]
and dword [rbp - 0x61], 0
lea r14, [rdi + 0x18]
mov rcx, qword [r14]
movups xmm7, xmmword [rbp - 0x39]
movups xmm8, xmmword [rbp - 0x29]
mov rax, qword [rcx + 8]
mov qword [rbp - 0x69], rax
movq rsi, xmm6
jmp 0x140011ac7
mov qword [rbp - 0x69], rax
cmp qword [rax + 0x20], rsi
jae 0x140011aba
and dword [rbp - 0x61], 0
mov rax, qword [rax + 0x10]
jmp 0x140011ac7
mov rcx, rax
mov dword [rbp - 0x61], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011aa6
cmp byte [rcx + 0x19], 0
jne 0x140011ad9
cmp rsi, qword [rcx + 0x20]
jae 0x140011b38
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [r14 + 8], rax
je 0x140011bb4
mov rbx, qword [r14]
mov ecx, 0x58
call fcn.140037c10
xorps xmm0, xmm0
lea rdx, [rbp - 0x69]
mov r8, rax
mov rcx, r14
mov qword [rax + 0x20], rsi
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax], rbx
movups xmm0, xmmword [rbp - 0x69]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
and word [rax + 0x18], 0
movdqu xmmword [rbp - 0x69], xmm0
call fcn.14000a7b4
mov rcx, rax
movups xmmword [rcx + 0x28], xmm6
movups xmmword [rcx + 0x38], xmm7
movups xmmword [rcx + 0x48], xmm8
test byte [rbp - 0x25], 0x70
je 0x140011b60
mov r8, qword [rbp - 0x31]
xor edx, edx
mov ecx, dword [rbp - 0x15]
mov rax, r8
div rcx
add qword [rdi + 0x10], rax
jmp 0x140011b64
mov r8, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x49]
add rdx, r8
mov r9d, 0x30
lea r8, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x140011a72
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140009fd0
int3
Function at 0x140015374
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xe0], 0
mov rbx, rcx
jne 0x14001545b
xor r8d, r8d
mov dword [rcx + 0xe0], 2
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x14001545b
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x100], rax
test rax, rax
je 0x14001545b
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x140015c50]
mov r9, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x14001545b
mov rax, qword [rbx + 0x58]
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 7
jbe 0x14001540c
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rax
mov edx, 0x40080003
and dword [rsp + 0x30], 0
mov eax, 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9d, [rax - 0x3f]
lea r8d, [rax - 0x3a]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14001545b
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140015463
mov dword [rbx + 0xe0], 1
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
jmp 0x14001545d
Function at 0x1400155f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
mov dword [rbp - 9], 2
xorps xmm0, xmm0
mov dword [rbp - 1], r15d
xorps xmm1, xmm1
movdqa xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov rbx, rdx
movups xmmword [rbp + 0x1f], xmm1
mov qword [rbp + 0x2f], r15
mov rdi, rcx
movdqa xmmword [rbp + 0x37], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 5], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x2f]
mov rdx, qword [rbx + 0x48]
mov rcx, rax
mov dword [rsp + 0x30], r15d
mov rsi, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015724
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x37]
mov rdx, qword [rbx + 0x50]
mov rcx, rsi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x100002
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015724
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x3f]
mov rdx, qword [rdi + 0x70]
mov rcx, rsi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015724
mov rcx, qword [rdi + 0x60]
lea rax, [rdi + 0xe8]
lea r9, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 0x50]
mov dword [rbp + 0x6f], r15d
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140015714
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400157a6
mov rdx, rbx
mov rcx, rdi
call fcn.140015b4c
jmp 0x1400157a8
mov rdx, qword [rbp + 0x2f]
mov edi, 1
test rdx, rdx
je 0x140015754
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rbp + 0x2f], r15
mov rdx, qword [rbp + 0x37]
test rdx, rdx
je 0x14001577f
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rbp + 0x37], r15
mov rdx, qword [rbp + 0x3f]
test rdx, rdx
je 0x1400157a6
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret