joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140205dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rdx]
lea r12, [rdx + 8]
test rax, rax
mov rcx, r12
cmove rcx, rax
mov edx, dword [rcx + 8]
xor r8d, r8d
test edx, edx
setne r8b
lea r9, [rsi + 0x28]
xor ecx, ecx
cmp rax, 2
cmovb r9, rcx
mov dword [rsp + 0x20], edx
mov edx, dword [r9 + 8]
mov dword [rsp + 0x24], edx
test edx, edx
mov edx, 2
cmove rdx, r8
lea r8, [rsi + 0x48]
cmp rax, 3
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 3
cmove r9, rdx
lea rdx, [rsi + 0x68]
cmp rax, 4
cmovb rdx, rcx
mov dword [rsp + 0x28], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x2c], edx
test edx, edx
mov edx, 4
cmove rdx, r9
lea r8, [rsi + 0x88]
cmp rax, 5
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 5
cmove r9, rdx
lea rdx, [rsi + 0xa8]
cmp rax, 6
cmovb rdx, rcx
mov dword [rsp + 0x30], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x34], edx
test edx, edx
mov edx, 6
cmove rdx, r9
lea r8, [rsi + 0xc8]
cmp rax, 7
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 7
cmove r9, rdx
lea rdx, [rsi + 0xe8]
cmp rax, 8
cmovb rdx, rcx
mov dword [rsp + 0x38], r8d
mov edx, dword [rdx + 8]
mov dword [rsp + 0x3c], edx
test edx, edx
mov edx, 8
cmove rdx, r9
lea r8, [rsi + 0x108]
cmp rax, 9
cmovb r8, rcx
mov r8d, dword [r8 + 8]
test r8d, r8d
mov r9d, 9
cmove r9, rdx
cmp rax, 0xa
lea rax, [rsi + 0x128]
cmovb rax, rcx
mov dword [rsp + 0x40], r8d
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
test eax, eax
mov ebx, 0xa
cmove rbx, r9
mov r15, qword [rdi]
lea r13, [rdi + 8]
test r15, r15
cmovne r15, r13
mov rcx, r15
mov rdx, rbx
call fcn.140205560
mov r14d, eax
test al, al
je 0x140205f92
test rbx, rbx
je 0x140205f92
mov ebp, 1
mov edx, dword [rsp + rbp*4 + 0x1c]
mov rcx, r15
call fcn.140205560
mov r14d, eax
test al, al
je 0x140205f92
lea rax, [rbp + 1]
cmp rbp, rbx
mov rbp, rax
jb 0x140205f73
test r14b, r14b
je 0x140205fe1
test rbx, rbx
je 0x140205fe1
xor ebp, ebp
xor r14d, r14d
mov rcx, r13
cmp qword [rdi], rbp
ja 0x140205fab
xor ecx, ecx
mov r15, r12
cmp qword [rsi], rbp
ja 0x140205fb6
xor r15d, r15d
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.1402052a0
test al, al
je 0x140205fe1
mov rcx, r15
call fcn.140204cd0
inc rbp
add r12, 0x20
add r13, 0x20
mov r14b, 1
cmp rbp, rbx
jb 0x140205f9e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401ad700
mov eax, r14d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140221530
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret

Function at 0x140221600
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x1402226b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140222721
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14022272b
mov dil, 1
test bl, bl
je 0x14022270a
cmp byte [rsi + 8], 0
je 0x140222726
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ad700
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1402226dd
mov rcx, qword [rsi]
jmp 0x1402226ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x140222753
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140222758
xor edi, edi
jmp 0x14022270a
mov rcx, qword [rsi]
jmp 0x140222740
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14022277f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x14022270a
mov rcx, qword [rsi]
jmp 0x14022276f
Function at 0x140223170
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402af0f0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1cc
call fcn.14018d210
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140182070
mov al, byte [rsi + 0x17]
test al, al
jns 0x1402231ee
cmp qword [rsi + 8], 0x103
ja 0x14022320c
test al, al
jns 0x1402231f5
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.1401822b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401ad700
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1402236c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, 1
mov r8d, 0x80000000
jmp fcn.1400f5070
Function at 0x140223a30
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x1402af0f0]
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, 0x88
call fcn.14018d210
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140182070
mov rcx, rdi
call fcn.14018fde0
test al, al
jne 0x140223adc
mov rcx, rsi
call fcn.14018fde0
test al, al
jne 0x140223ada
cmp byte [rdi + 0x17], 0
jns 0x140223b1e
cmp qword [rdi + 8], 0x103
jbe 0x140223b1e
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.1401822b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401ad700
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.140129e70
jmp 0x140223adc
cmp byte [rsi + 0x17], 0
jns 0x140223b2e
cmp qword [rsi + 8], 0x103
ja 0x140223ada
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, 0x95
call fcn.14018d210
lea r8, [0x1403034a8]
mov rcx, r14
mov rdx, r15
call fcn.140129b60
cmp byte [rsi + 0x17], 0
jns 0x140223b73
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x140223b80
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140223b10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x140223b12
mov ecx, eax
and ecx, 1
je 0x140223b12
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x140223b12
Function at 0x140224120
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1401af840
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400f7fb0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140224225
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140224225
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x140224225
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14017f4b0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1401af840
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400f7fb0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1402242a6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1402242a6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1402241ef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401af840
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400f7fb0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140224327
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140224327
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1402241ef
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401af840
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400f7fb0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1402243ac
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1402243ac
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1402241ef
xor esi, esi
jmp 0x1402241ff
Function at 0x140224800
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402af0f0]
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, 0x4c6
call fcn.14018d210
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140182070
mov al, byte [rdi + 0x17]
test al, al
jns 0x140223c58
cmp qword [rdi + 8], 0x103
ja 0x140223c6b
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x140223c97
cmp qword [rsi + 8], 0x103
jbe 0x140223c97
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401822b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401ad700
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 0x140223ca1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x140223cab
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x140223c6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.1400f51c0
test al, al
jne 0x140223cdb
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140223c69
mov rcx, rdi
mov rdx, rsi
call fcn.140223cf0
test al, al
jne 0x140223c6b
jmp 0x140223cd1
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14018fde0
test al, al
jne 0x140224821
mov rcx, rsi
call fcn.14018fde0
test al, al
je 0x14022482a
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 0x140223bd0
Function at 0x140226f10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1403035e0], 0
je 0x140226f56
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401ad700
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1403035b8]
test rdi, rdi
je 0x140226ff7
test byte [0x1402f9980], 1
je 0x140226f39
cmp byte [rdi + 0x17], 0
jns 0x140226f78
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 [0x1403035e0], rax
inc rax
cmp rax, 1
ja 0x140226f39
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401af840
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1402270bc
xor esi, esi
jmp 0x140226f39
mov ecx, 0x18
call fcn.1401abf00
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401af840
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1402af0f0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401e8e60
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14022705d
and eax, 0x7f
mov rcx, rdi
jmp 0x140227064
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x14022709b
add rax, rax
test rax, rax
je 0x14022709b
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x14022706c
cmp rdx, 0xfffffffffffffffe
je 0x14022709b
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.140179060
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400d92c0
mov qword [0x1403035b8], rdi
jmp 0x140226f66
mov rdi, qword [0x1403035b8]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401cfa44
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400d9160
mov rcx, qword [0x1403035b8]
call fcn.14021bb30
cmp word [rax], 0x5c
je 0x140227109
mov rcx, qword [0x1403035b8]
lea rdx, [0x1402b5610]
mov r8d, 1
call fcn.1400d92c0
mov rcx, qword [0x1403035b8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400d92c0
mov rcx, qword [0x1403035b8]
cmp byte [rcx + 0x17], 0
jns 0x140227132
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 [0x1403035e0], rax
inc rax
cmp rax, 1
ja 0x140226f39
mov qword [0x1403035e0], 0
jmp 0x140226ff0
Function at 0x140230610
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x1402af0f0]
movups xmmword [rcx], xmm6
call fcn.14018d420
mov ecx, edi
mov rdx, rsi
call fcn.1400f8190
test al, al
je 0x14023068c
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140230673
and eax, 0x7f
jmp 0x140230677
mov rax, qword [rsi + 8]
test rax, rax
je 0x14023068c
mov rcx, rsi
call fcn.1400f51c0
test al, al
jne 0x140230779
mov rcx, rsi
call fcn.14018d6b0
lea r14, [0x1402c6a08]
mov ecx, 3
mov rax, rcx
jmp 0x1402306bb
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x1402306ca
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x1402306b3
jmp 0x1402306a5
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x140230771
cmp dword [r14], edi
jg 0x140230771
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.1401af840
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 0x140230771
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401cfa44
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14018d560
mov rcx, rsi
call fcn.140102320
test al, al
je 0x140230769
mov rcx, rsi
call fcn.14018fde0
test al, al
jne 0x140230769
mov rcx, rsi
call fcn.1400f51c0
test al, al
jne 0x140230779
mov rcx, rsi
call fcn.14018d6b0
mov rcx, rsi
call fcn.14018d420
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140232d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x140303990]
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 0x140232d43
mov eax, 0x100
lea rcx, [0x140303990]
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 0x140232e06
lea rax, [0x1401ac7e0]
mov qword [0x140305990], rax
mov qword [0x140303980], rax
lea rsi, [0x1401ac6f0]
mov qword [0x140305998], rsi
call fcn.14024cce0
test eax, eax
jne 0x140232e59
mov qword [0x140303980], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1402368e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1403059e8]
test rax, rax
jne 0x140236924
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1403059e8]
test rax, rax
je 0x140236911
cmp eax, 2
jne 0x14023697c
mov ecx, 2
call fcn.14018cad0
test al, al
je 0x1402369d9
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8f
mov r9d, 2
call fcn.1400ff950
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401e9050
mov rcx, rsi
call fcn.1400fffa0
jmp 0x1402369d9
mov eax, 1
lock xadd qword [0x140305a20], rax
inc rax
cmp rax, 2
jl 0x1402369a0
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1403059a8], eax
mov qword [0x1403059a0], rsi
mov rcx, qword [0x1402f9c10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14018cad0
test al, al
jne 0x140236a09
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401ad700
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.1400ff950
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x14023696d
Function at 0x140238570
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1402385d1
test r12, r12
je 0x1402386e8
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ad700
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x140238636
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14023861f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401af190
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14023859e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x140238714
lea rcx, [r15*8]
call fcn.1401abf00
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x1402386b3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1402386e8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14023869b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.140238a80
mov r12, qword [rsi + 0x10]
jmp 0x14023859e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401f6bb0
call fcn.1401e8fd0
int3