joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140308560
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x140470090]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x87
call fcn.14020f920
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140201bd0
mov rcx, rdi
call fcn.1402122b0
test al, al
jne 0x14030860c
mov rcx, rsi
call fcn.1402122b0
test al, al
jne 0x14030860a
cmp byte [rdi + 0x17], 0
jns 0x140308658
cmp qword [rdi + 8], 0x103
jbe 0x140308658
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.140201c60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140308630
call fcn.140297b50
int3
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebp, ebp
lea rcx, [rsp + 0x20]
call fcn.14010c1c0
jmp 0x14030860c
cmp byte [rsi + 0x17], 0
jns 0x140308668
cmp qword [rsi + 8], 0x103
ja 0x14030860a
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x94
call fcn.14020f920
lea r8, [0x140512b38]
mov rcx, r14
mov rdx, r15
call fcn.14010c080
cmp byte [rsi + 0x17], 0
jns 0x1403086ad
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1403086ba
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14030864a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
sete cl
test al, 1
sete dl
or dl, cl
jne 0x14030864c
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x14030864c
Function at 0x140309230
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140470090]
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4b9
call fcn.14020f920
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140201bd0
mov al, byte [rdi + 0x17]
test al, al
jns 0x140308788
cmp qword [rdi + 8], 0x103
ja 0x14030879b
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1403087d1
cmp qword [rsi + 8], 0x103
jbe 0x1403087d1
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140201c60
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403087bf
call fcn.140297b50
int3
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x1403087db
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1403087e5
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14030879b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140105030
test al, al
jne 0x140308815
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140308799
mov rcx, rdi
mov rdx, rsi
call fcn.140308830
test al, al
jne 0x14030879b
jmp 0x14030880b
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1402122b0
test al, al
jne 0x140309251
mov rcx, rsi
call fcn.1402122b0
test al, al
je 0x14030925a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140308700
Function at 0x14030a8b0
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x140512b68]
test rdx, rdx
setne al
and al, byte [0x1405009b8]
cmp al, 1
jne 0x14030aa69
cmp byte [rdx + 0x17], 0
jns 0x14030a8fa
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x14030aa8b
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14020f940
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140470090]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.1401e65b0
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401e1960
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x14030aab5
cmp eax, 1
je 0x14030a98a
test eax, eax
jne 0x14030a98e
mov bp, 4
jmp 0x14030a98e
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x14030a99a
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x140512b78]
cmp byte [rcx + 0x17], 0
jns 0x14030a9bb
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x14030a9df
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1401e0d00
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x140512b74]
movzx r8d, word [0x140512b70]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x14030aa3a
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401e0d00
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14030aa4a
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14030aa5b
mov rcx, qword [rsp + 0x60]
call fcn.140296608
call fcn.14020f940
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140114c90
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14030aaa3
call fcn.140297b50
int3
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401e0d00
jmp 0x14030aa69
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1402d26c0
mov rcx, r12
call fcn.140152b10
mov rcx, r12
mov rdx, r15
call fcn.140396410
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x14030aaf5
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.1401f89a0
cmp byte [rsp + 0x5f], 0
jns 0x14030a98e
mov rcx, qword [rsp + 0x48]
call fcn.140296608
jmp 0x14030a98e
Function at 0x14030da60
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140512ca8], 0
je 0x14030dab0
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14030daa3
call fcn.140297b50
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140512cb0]
test rdi, rdi
jne 0x14030db7d
mov ecx, 0x18
call fcn.1402965cc
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d26c0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140470090]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401f0580
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x14030db2a
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x14030db61
add rax, rax
test rax, rax
je 0x14030db61
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x14030db32
cmp rdx, 0xfffffffffffffffe
je 0x14030db61
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1401f3210
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1401f95c0
mov qword [0x140512cb0], rdi
test byte [0x1405009bc], 1
je 0x14030da89
cmp byte [rdi + 0x17], 0
jns 0x14030db93
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140512ca8], rax
inc rax
cmp rax, 1
ja 0x14030da89
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1402d26c0
mov word [rsi], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14030dccb
mov rcx, qword [0x140512cb0]
lea rdx, [rsp + 0x40]
call fcn.1400e6930
mov rcx, qword [0x140512cb0]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x14030dcda
test al, al
je 0x14030dceb
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14030dc61
lea rdx, [0x14047a444]
mov r8d, 1
call fcn.1401f95c0
mov rcx, qword [0x140512cb0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1401f95c0
mov rcx, qword [0x140512cb0]
cmp byte [rcx + 0x17], 0
jns 0x14030dc83
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140512ca8], rax
inc rax
cmp rax, 1
ja 0x14030dcd2
mov qword [0x140512ca8], 0
xor esi, esi
jmp 0x14030da89
mov sil, 1
jmp 0x14030da89
mov rax, qword [rcx + 8]
test rax, rax
je 0x14030dceb
mov rdx, qword [rcx]
jmp 0x14030dc40
ud2
Function at 0x140319140
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140319196
xor r11d, r11d
mov rdi, qword [r8 + r11*8]
mov rbx, qword [rcx + r11*8]
xor r14d, r14d
mov rsi, rbx
sub rsi, rdi
sete r14b
neg r14
xor rdi, rbx
xor rsi, rbx
or rsi, rdi
xor rsi, rbx
sar rsi, 0x3f
or rsi, 1
xor rax, rsi
and rax, r14
xor rax, rsi
inc r11
cmp r10, r11
jne 0x140319159
cmp rdx, r9
jb 0x1403191a3
ja 0x1403191c0
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x1403191a5
xor edx, edx
cmp rcx, 1
sbb rdx, rdx
not edx
or eax, edx
jmp 0x14031919d
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x1403191c3
xor ecx, ecx
cmp r8, 1
sbb rcx, rcx
xor eax, 1
and eax, ecx
xor eax, 1
jmp 0x14031919d
Function at 0x140321840
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
xor eax, eax
ret

Function at 0x1403354b0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.14011d8e0
test al, al
jne 0x1403354ff
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403354f4
call fcn.140297b50
int3
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.140335f20
mov ebx, eax
cmp byte [rsi + 0x17], 0
jns 0x140335538
mov rcx, qword [rsp + 0x90]
call fcn.140296608
test bl, bl
je 0x1403354d8
call fcn.140134950
mov ebx, eax
call fcn.1400fcda0
cmp ebx, 2
je 0x140335573
cmp eax, 0x16
jge 0x140335587
lea rax, str.http
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 4
call fcn.1403a4890
jmp 0x1403354da
mov ecx, 1
mov rdx, rdi
call fcn.140334eb0
mov al, 1
jmp 0x1403354da
call fcn.140135b40
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [0x140470090]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [0x140492f48]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x18
lea rcx, str.registeredAppUser
lea rdx, str.registeredAppMachine
test al, al
cmovne rdx, rcx
mov qword [rsp + 0xa0], rdx
xor al, 1
movzx eax, al
lea rax, [rax + rax*2]
add rax, 0x12
mov qword [rsp + 0xa8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.140334dd0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x140335617
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x80]
mov qword [rdx], rsi
mov qword [rdx + 8], 3
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140100d30
cmp byte [rsp + 0x5f], 0
jns 0x140335658
mov rcx, qword [rsp + 0x48]
call fcn.140296608
cmp byte [rsp + 0x77], 0
jns 0x140335664
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rsi, rax
cmp byte [rsp + 0x77], 0
jns 0x14033569e
mov rcx, qword [rsp + 0x60]
call fcn.140296608
mov al, 1
cmp rsi, 0x20
jg 0x1403354da
jmp 0x140335552
Function at 0x14033fc00
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
lea r9, [rsp + 0x16c]
mov dword [r9], 0x44
xorps xmm0, xmm0
lea r8, [rsp + 0x170]
movaps xmmword [r8 + 0x30], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov dword [r8 + 0x40], 0
mov ecx, ntohl
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x14033fc8e
lea r8, [rsp + 0x2c]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x14033fd09
cmp dword [rsp + 0x2c], 0
setne al
jmp 0x14033fce6
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x14033fce4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x159
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_create_well_known_SID
mov r8d, 0x1f
call fcn.1401e0d00
mov rcx, rsi
call fcn.14030e160
xor eax, eax
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14033fd00
call fcn.140297b50
int3
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x14033fce4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x15f
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_check_token_membership_for_WinInteractiveSid
mov r8d, 0x36
jmp 0x14033fcd7
Function at 0x1403421e0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x140470090]
movups xmmword [rcx], xmm6
call fcn.140210900
mov ecx, edi
mov rdx, rsi
call fcn.140107ac0
test al, al
je 0x140342259
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x140342244
mov rax, qword [rsi + 8]
test rax, rax
je 0x140342259
mov rcx, rsi
call fcn.140105030
test al, al
jne 0x140342346
mov rcx, rsi
call fcn.140210aa0
mov ecx, 4
lea r14, [0x140494290]
mov rax, rcx
jmp 0x140342288
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x140342297
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x140342280
jmp 0x140342272
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x14034233e
cmp edi, dword [r14]
jl 0x14034233e
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.1402d26c0
mov word [rdi - 2], 0
mov rcx, qword [r14 + 8]
lea rdi, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x14034233e
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1402b8034
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140210960
mov rcx, rsi
call fcn.1401191b0
test al, al
je 0x140342336
mov rcx, rsi
call fcn.1402122b0
test al, al
jne 0x140342336
mov rcx, rsi
call fcn.140105030
test al, al
jne 0x140342346
mov rcx, rsi
call fcn.140210aa0
mov rcx, rsi
call fcn.140210900
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140342360
call fcn.140297b50
int3
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140344d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x140513bc0]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x140344d43
mov eax, 0x100
lea rcx, [0x140513bc0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x140344e06
lea rax, [0x140296d10]
mov qword [0x140515bc0], rax
mov qword [0x140513bb8], rax
lea rsi, [0x140296c20]
mov qword [0x140515bc8], rsi
call fcn.1403a9960
test eax, eax
jne 0x140344e59
mov qword [0x140513bb8], rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140349b20
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140515db0]
test rax, rax
jne 0x140349b64
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140515db0]
test rax, rax
je 0x140349b51
cmp eax, 2
je 0x140349c02
mov eax, 1
lock xadd qword [0x140515de8], rax
inc rax
cmp rax, 2
jl 0x140349b91
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140515d70], eax
mov qword [0x140515d68], rsi
mov rcx, qword [0x140500cd0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x140349c4f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x140349c42
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x140349c4f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401e0d00
mov rcx, rsi
call fcn.140114c90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140349c7d
call fcn.140297b50
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x14038a770
Capabilities:
Initialize winhttp library

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x150
mov r10d, r8d
mov rsi, rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [0x1404fe040]
xor rcx, rsp
mov qword [rsp + 0x148], rcx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rcx
movaps xmm0, xmmword [0x140470090]
movups xmmword [rsi], xmm0
cmp qword [rax + 8], 0
je 0x14038a9bb
mov rax, qword [rax]
cmp qword [r9 + 8], 0
je 0x14038a9c2
mov r8, qword [r9]
mov rcx, qword [rdx]
mov dword [rsp + 0x20], 0x10000000
mov edx, r10d
mov r9, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
lea rax, [0x1404744e8]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x14038a9a1
lea rbx, [rsp + 0x38]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1402d26c0
mov dword [rbx - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
movabs rcx, 0x100000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x2c]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
movabs r15, 0x300000006
test eax, eax
je 0x14038a918
lea rbx, [rsp + 0x38]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1402d26c0
mov dword [rbx - 0xc], 0x11c
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rbx - 8], r15
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x2c]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14038a918
lea r8, [rsp + 0x2c]
mov dword [r8], 0xa80
mov rcx, rdi
mov edx, 0x54
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea rbx, [rsp + 0x38]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1402d26c0
mov dword [rbx - 0xc], 0x11c
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rbx - 8], r15
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x2c]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14038a9a1
lea r8, [rsp + 0x2c]
mov dword [r8], 3
mov rcx, rdi
mov edx, 0x76
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14038a9ca
call fcn.140297b50
int3
xor eax, eax
jmp 0x14038a7c4
xor r8d, r8d
jmp 0x14038a7d2
mov rax, rsi
add rsp, 0x150
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret