joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009f54
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 0x14000a066
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000a05e
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000a07b
mov rcx, qword [rbx]
mov r9, rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x140009feb
mov rcx, rbx
call fcn.140001ac4
mov rcx, qword [rbx]
mov r9, rcx
test rcx, rcx
jne 0x140009ff7
mov edi, 0x8007000e
jmp 0x14000a02c
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 0x14000a036
mov eax, r14d
jmp 0x14000a046
movsxd rdx, dword [r9 - 0xc]
mov rcx, r9
call fcn.14002ba48
test eax, eax
js 0x14000a07b
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000a07b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000a066
mov rcx, rbx
call fcn.140001948
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.140001814
int3

Function at 0x14000a190
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 0x14000a1d0
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 rbp, rcx
mov edi, r9d
mov rcx, r8
mov rbx, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp + 8]
mov r9d, edi
xor r8d, r8d
mov rdx, rsi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
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 0x14000a240
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, 0xffffffff
cmp r9, rax
jbe 0x14000a255
mov eax, 0x80070057
jmp 0x14000a280
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, dword [rsp + 0x60]
mov qword [rsp + 0x20], r8
xor r8d, r8d
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 0x14000a684
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 0x10]
lea r12, [0x140048bd0]
and qword [rsp + 0x50], 0
mov rsi, rdx
mov r8, rdx
mov qword [rsp + 0x48], r12
mov rdx, qword [rcx + 8]
mov rdi, rcx
or r9d, 0xf003f
mov dword [rsp + 0x58], 0x200
lea rcx, [rsp + 0x48]
call fcn.140009a60
mov ebx, eax
mov r13d, 1
add eax, 0x7ff8fffe
cmp eax, r13d
cmovbe ebx, r13d
test ebx, ebx
jmp 0x14000a712
lea rdx, [rsp + 0x70]
call fcn.14000a684
mov ebx, eax
test eax, eax
jne 0x14000a785
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]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x14000a704
call fcn.1400098a4
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, r13d
cmovbe ebx, r13d
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r12
call fcn.1400098a4
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001f3c0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000aa88
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140051010]
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 0x14000aafe
lea rcx, [rsp + 0x50]
call fcn.1400337b4
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400019b8
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001f3c0
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret
Function at 0x14000b2a8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140051010]
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 0x14000b339
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.14001f3c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14000b7e4
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, r9d
mov ecx, r9d
mov rsi, r8
mov rbp, rdx
call fcn.140032c00
mov qword [rbx], rax
test rax, rax
je 0x14000b87c
mov edx, dword [rsi]
mov r9, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbx]
test eax, eax
je 0x14000b86f
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000b86c
cmp dword [rsp + 0x58], 0
je 0x14000b86c
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax]
movzx eax, word [rax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [rbx + 8], ecx
jmp 0x14000b87e
mov rcx, qword [rbx]
call fcn.14001f66c
and qword [rbx], 0
and dword [rbx + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b9f4
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000ba4c
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14001f3c0
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.14001ffd0
mov rbx, qword [0x140053b70]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140006144
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 0x14000bac4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000bae9
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14000c6f4
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 0x14000bb18
cmp eax, 1
jne 0x14000bb0e
int3
mov eax, 1
jmp 0x14000ba27
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000c6f4
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
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 0x14000c744
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140020190
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 0x14000c769
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x140010c64
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 r9d, dword [rsp + 0x24]
lea rax, [r9 - 1]
not rax
and rax, rdi
je 0x140010cf8
mov r8, qword [rbx + 0x18]
mov rcx, qword [r8 + 8]
mov rdx, r8
jmp 0x140010cc2
cmp qword [rcx + 0x20], rax
jae 0x140010cbc
mov rcx, qword [rcx + 0x10]
jmp 0x140010cc2
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140010cb0
cmp rdx, r8
je 0x140010cd3
cmp rax, qword [rdx + 0x20]
jae 0x140010cd6
mov rdx, r8
cmp rdx, r8
jne 0x140010ce2
sub rax, r9
jne 0x140010ca7
jmp 0x140010cf8
movups xmm1, xmmword [rdx + 0x38]
psrldq xmm1, 8
movq rdx, xmm1
add rdx, rax
cmp rdx, rdi
ja 0x140010cfa
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140010fdc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
xorps xmm0, xmm0
mov rsi, rcx
lea rcx, [rbp + 7]
mov r15, rdx
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
and qword [rsi + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor edx, edx
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
jmp 0x140011101
cmp dword [rbp - 9], 0x1000
jne 0x1400110f6
mov rdi, qword [rsi + 0x18]
mov rcx, qword [rbp - 0x29]
mov rbx, rdi
mov qword [rbp + 0x67], rcx
mov rax, qword [rdi + 8]
jmp 0x140011062
cmp qword [rax + 0x20], rcx
jae 0x14001105c
mov rax, qword [rax + 0x10]
jmp 0x140011062
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011050
cmp rbx, rdi
je 0x140011073
cmp rcx, qword [rbx + 0x20]
jae 0x1400110c3
mov ecx, 0x58
call fcn.140032ba4
mov rcx, qword [rbp + 0x67]
lea rdx, [rbp + 0x77]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov r8, rbx
lea r9, [rax + 0x20]
mov qword [r9], rcx
lea rcx, [rsi + 0x18]
movups xmmword [r9 + 8], xmm0
movups xmmword [r9 + 0x18], xmm0
movups xmmword [r9 + 0x28], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
and word [rax + 0x18], 0
call fcn.1400120a4
mov rbx, qword [rbp + 0x77]
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbx + 0x28], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x38], xmm1
movups xmm0, xmmword [rbp - 9]
movups xmmword [rbx + 0x48], xmm0
test byte [rbp - 5], 0x70
je 0x1400110f6
mov r8, qword [rbp - 0x11]
xor edx, edx
mov ecx, dword [rbp + 0xb]
mov rax, r8
div rcx
add qword [rsi + 0x10], rax
jmp 0x1400110fa
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x29]
add rdx, r8
mov r9d, 0x30
lea r8, [rbp - 0x29]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x14001102e
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015850
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xe0], 0
mov rbx, rcx
jne 0x140015937
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 0x140015937
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 0x140015937
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x140016164]
mov r9, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x140015937
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400158e4
mov rcx, qword [rcx]
mov rax, qword [rbx + 0x58]
mov edx, 0x40080003
mov qword [rsp + 0x38], rax
mov eax, 0x40
and dword [rsp + 0x30], 0
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 0x140015937
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x14001593f
mov dword [rbx + 0xe0], 1
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
jmp 0x140015939
Function at 0x140015ad8
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 0x140015c18
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 0x140015c18
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 0x140015c18
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 0x140015bf2
mov eax, r15d
jmp 0x140015bf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test sil, sil
jne 0x140015c08
cmp eax, 0x3e5
jne 0x140015c9a
mov rdx, rbx
mov rcx, rdi
call fcn.140016064
jmp 0x140015c9c
mov rdx, qword [rbp + 0x2f]
mov edi, 1
test rdx, rdx
je 0x140015c48
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 0x140015c73
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 0x140015c9a
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 0x1400180bc
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 rdi, rcx
lea rdx, [rbp + 0x28]
lea rcx, [0x1400181c8]
mov rbx, r8
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.1400014bc
mov rcx, rax
test rax, rax
je 0x1400181bb
mov rax, qword [rax]
call qword [rax + 0x18]
mov r9, rbx
lea rdx, str._s_s.dmp
add rax, 0x18
lea rcx, [rbp - 0x10]
mov r8, rsi
mov qword [rbp - 0x10], rax
call fcn.14000ab2c
lea rcx, [rbp - 0x10]
call fcn.14000b604
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.1400193d4
cmp byte [rdi + 1], 0
je 0x140018188
mov r9, rbx
lea rdx, str._s_s_full.dmp
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.14000ab2c
lea rcx, [rbp - 0x10]
call fcn.14000b604
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.140006658
test al, al
je 0x14001818c
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.1400193d4
jmp 0x14001818c
mov rbx, qword [rbp - 0x10]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400181a6
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.140001814
int3
Function at 0x14001878c
Capabilities:
Delete directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x30], 0
mov r14, rdx
mov sil, cl
call fcn.140019930
call fcn.1400014bc
test sil, sil
je 0x14001881d
test rax, rax
je 0x14001898b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rax
call fcn.1400052f4
mov rdx, rax
lea r9, [rbp - 0x20]
mov r8b, 1
mov ecx, 0x26
call fcn.1400197d4
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018812
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 0x20]
mov ebx, 1
jmp 0x140018885
mov rcx, rax
test rax, rax
je 0x14001898b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x48], rax
call fcn.1400052f4
mov rdx, rax
lea r9, [rbp + 0x48]
mov r8b, 1
mov ecx, 0x1c
call fcn.1400197d4
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001887c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp + 0x48]
mov ebx, 2
lea rcx, [rbp + 0x40]
call fcn.140005380
test bl, 2
je 0x1400188b4
mov rdx, qword [rbp + 0x48]
and ebx, 0xfffffffd
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400188b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bl, 1
je 0x1400188d7
mov rdx, qword [rbp - 0x20]
mov eax, edi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400188d7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x140018902
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x14001890c
lea rcx, [rbp + 0x40]
call fcn.140018560
test eax, eax
jns 0x140018902
mov rbx, qword [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140018906
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x140018950
lea rcx, [rbp - 8]
call fcn.1400061dc
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140001838
mov rdx, qword [rbp - 8]
mov eax, edi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001893f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x140018950
mov esi, 0x8004fffc
jmp 0x140018963
test r14, r14
je 0x140018961
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.140001838
xor esi, esi
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14001897e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001814
int3
Function at 0x140019008
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbp, rcx
lea rdx, str.ClientCustomData
lea rcx, [rsp + 0x30]
call fcn.1400052f4
call fcn.1400014bc
xor edi, edi
mov rcx, rax
test rax, rax
je 0x140019173
mov rax, qword [rax]
call qword [rax + 0x18]
mov r8, qword [rsp + 0x30]
lea rdx, str.__s__r_n
add rax, 0x18
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
call fcn.14000ab74
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400190cf
mov r9, qword [rbx + 0x28]
lea rdx, str._s_s_r_n
mov r8, qword [rbx + 0x20]
lea rcx, [rsp + 0x78]
call fcn.14000ab74
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
je 0x1400190af
mov rax, qword [rbx + 8]
jmp 0x1400190a4
cmp rbx, qword [rax + 0x10]
jne 0x1400190aa
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x140019097
mov rbx, rax
jmp 0x1400190ca
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], dil
jne 0x1400190ca
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], dil
je 0x1400190bb
cmp rbx, qword [rsi]
jne 0x14001906e
mov rbx, qword [rsp + 0x78]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], edi
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rdi
mov r8d, dword [rbx - 0x10]
add r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140019120
call fcn.14000b35c
lea rdx, [rbx - 0x18]
mov esi, eax
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x14001913f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
jmp 0x14001913f
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001913d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, edi
mov rdx, qword [rsp + 0x30]
mov ecx, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x14001915f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x60]
test esi, esi
cmovs edi, esi
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001814
int3