joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b134
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 0x14000b1d5
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000b1d9
mov ecx, eax
call fcn.140038d20
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 0x14000b1fc
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 0x14000b244
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 0x14000b2fc
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140038d20
mov qword [rdi], rax
cmp dword [rsp + 0x50], r14d
je 0x14000b2f8
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 0x14000b2fc
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 0x14000b314
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 0x14000b425
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000b41d
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000b43a
mov rcx, qword [rbx]
mov r9, rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x14000b3ab
mov rcx, rbx
call fcn.140001b34
mov rcx, qword [rbx]
mov r9, rcx
test rcx, rcx
jne 0x14000b3b7
mov edi, 0x8007000e
jmp 0x14000b3ec
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rbp + 8]
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov r9, qword [rbx]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test r9, r9
jne 0x14000b3f6
mov eax, r14d
jmp 0x14000b406
movsxd rdx, dword [r9 - 0xc]
mov rcx, r9
call fcn.1400313e8
test eax, eax
js 0x14000b43a
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000b43a
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000b425
mov rcx, rbx
call fcn.140001900
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.140001834
int3

Function at 0x14000b558
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 0x14000b598
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 0x14000ba6c
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 r12
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 0x10]
lea rax, [0x14004bee8]
and qword [rsp + 0x50], 0
mov rsi, rdx
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx + 8]
mov rdi, rcx
or r9d, 0xf003f
mov dword [rsp + 0x58], 0x200
lea rcx, [rsp + 0x48]
call fcn.14000ae04
mov ebx, eax
mov r12d, 1
add eax, 0x7ff8fffe
cmp eax, r12d
jbe 0x14000bb90
test ebx, ebx
jmp 0x14000bb03
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000ba6c
mov ebx, eax
test eax, eax
jne 0x14000bb93
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
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 0x14000baf0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000bb66
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0x200
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, r12d
cmovbe ebx, r12d
jmp 0x14000bb93
mov ebx, r12d
mov rcx, qword [rsp + 0x50]
lea rax, [0x14004bee8]
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14000bbaf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140020a60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000bea4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov eax, 0x8068
call fcn.140038c00
sub rsp, rax
mov rax, qword [0x140055010]
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 0x14000bf1c
lea rcx, [rsp + 0x50]
call fcn.1400312bc
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001970
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x8050]
xor rcx, rsp
call fcn.140020a60
add rsp, 0x8068
pop rdi
pop rbx
ret
Function at 0x14000bf90
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140055010]
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 0x14000c006
lea rcx, [rsp + 0x50]
call fcn.1400312bc
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001970
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140020a60
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret

Function at 0x14000c474
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140055010]
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 0x14000c505
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
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.140020a60
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14000ca58
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 0x14000cafd
mov ecx, edi
call fcn.140038d20
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 0x14000caf0
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 0x14000caed
cmp dword [rsp + 0x50], 0
je 0x14000caed
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 0x14000caff
mov rcx, qword [rbx]
call fcn.140020f38
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 0x14000cc04
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000cc5c
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140020a60
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.1400218f0
mov rbx, qword [0x140057c28]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400063b4
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 0x14000ccd4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call fcn.14000d620
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 0x14000cd0d
cmp eax, 1
jne 0x14000cd03
int3
mov eax, 1
jmp 0x14000cc37
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000d620
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 0x14000d6ad
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 0x14000d682
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140021ab0
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 0x14000d6a7
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 0x1400112dc
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 rax, [r10 - 1]
not rax
and rax, rdi
je 0x140011378
mov r8, qword [rbx + 0x18]
xor r11d, r11d
mov r9, qword [r8 + 8]
mov rdx, r8
cmp byte [r9 + 0x19], r11b
jne 0x14001134a
mov rcx, r9
cmp qword [rcx + 0x20], rax
jae 0x14001133e
mov rcx, qword [rcx + 0x10]
jmp 0x140011344
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r11b
je 0x140011332
cmp byte [rdx + 0x19], r11b
jne 0x14001135b
cmp rax, qword [rdx + 0x20]
jb 0x14001135b
cmp rdx, r8
jne 0x140011362
sub rax, r10
je 0x140011378
jmp 0x140011326
movups xmm1, xmmword [rdx + 0x38]
psrldq xmm1, 8
movq rdx, xmm1
add rdx, rax
cmp rdx, rdi
ja 0x14001137a
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x14001170c
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 rbx, 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 [rbx + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xor edx, edx
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
mov r9d, 0x30
lea r8, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140011886
cmp dword [rbp - 0x29], 0x1000
jne 0x140011876
mov r14, qword [rbx + 0x18]
movups xmm6, xmmword [rbp - 0x49]
and dword [rbp - 0x61], 0
mov rcx, r14
movups xmm7, xmmword [rbp - 0x39]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x69], rax
movq rdi, xmm6
movups xmm8, xmmword [rbp - 0x29]
jmp 0x1400117df
mov qword [rbp - 0x69], rax
cmp qword [rax + 0x20], rdi
jae 0x1400117d2
and dword [rbp - 0x61], 0
mov rax, qword [rax + 0x10]
jmp 0x1400117df
mov rcx, rax
mov dword [rbp - 0x61], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400117be
cmp byte [rcx + 0x19], 0
jne 0x1400117f1
cmp rdi, qword [rcx + 0x20]
jae 0x14001184e
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [rbx + 0x20], rax
je 0x1400118b2
mov ecx, 0x58
call fcn.140038cd0
xorps xmm0, xmm0
lea rdx, [rbp - 0x69]
mov r8, rax
lea rcx, [rbx + 0x18]
mov qword [rax + 0x20], rdi
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax], r14
movups xmm0, xmmword [rbp - 0x69]
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
and word [rax + 0x18], 0
movdqu xmmword [rbp - 0x69], xmm0
call fcn.14000a738
mov rcx, rax
movups xmmword [rcx + 0x28], xmm6
movups xmmword [rcx + 0x38], xmm7
movups xmmword [rcx + 0x48], xmm8
test byte [rbp - 0x25], 0x70
je 0x140011876
mov r8, qword [rbp - 0x31]
xor edx, edx
mov ecx, dword [rbp - 0x15]
mov rax, r8
div rcx
add qword [rbx + 0x10], rax
jmp 0x14001187a
mov r8, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x49]
add rdx, r8
jmp 0x14001176d
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.140009dac
int3
Function at 0x140014fa0
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xe0], 0
mov rbx, rcx
jne 0x140015087
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 0x140015087
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 0x140015087
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x1400158b4]
mov r9, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x140015087
mov rax, qword [rbx + 0x58]
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x140015038
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 0x140015087
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x14001508f
mov dword [rbx + 0xe0], 1
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
jmp 0x140015089
Function at 0x140015224
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 0x140015364
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 0x140015364
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 0x140015364
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
setne sil
test eax, eax
je 0x14001533e
mov eax, r15d
jmp 0x140015344
call qword [sym.imp.KERNEL32.dll_GetLastError]
test sil, sil
jne 0x140015354
cmp eax, 0x3e5
jne 0x1400153e6
mov rdx, rbx
mov rcx, rdi
call fcn.1400157b0
jmp 0x1400153e8
mov rdx, qword [rbp + 0x2f]
mov edi, 1
test rdx, rdx
je 0x140015394
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 0x1400153bf
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 0x1400153e6
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
Function at 0x140017ad8
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rsi, rdx
mov byte [rbp + 0x28], 0
mov rbx, rcx
lea rdx, [rbp + 0x28]
lea rcx, [0x140017be0]
mov rdi, r8
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.1400014b8
mov rcx, rax
test rax, rax
je 0x140017bd2
mov rax, qword [rax]
call qword [rax + 0x18]
mov r9, rdi
lea rdx, str._s_s.dmp
add rax, 0x18
lea rcx, [rbp - 0x10]
mov r8, rsi
mov qword [rbp - 0x10], rax
call fcn.14000c034
lea rcx, [rbp - 0x10]
call fcn.14000c828
mov dl, byte [rbx]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.140018894
cmp byte [rbx + 1], 0
je 0x140017b9f
mov r9, rdi
lea rdx, str._s_s_full.dmp
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.14000c034
lea rcx, [rbp - 0x10]
call fcn.14000c828
mov rcx, qword [rbp - 0x10]
call fcn.1400069c4
test al, al
je 0x140017b9f
mov dl, byte [rbx]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.140018894
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017bbd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001834
int3