joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ddf1c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401ddf66
call fcn.1401c0f58
mov dword [rax], 0xf
call fcn.1401a9dcc
mov dword [rax], Ordinal_14
call fcn.1401d5bc4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401ac870
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401ddf71
lea eax, [rbx + 1]
jmp 0x1401ddf53
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401ddf51
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401ddf53
Function at 0x1401decd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1401ded35
test byte [rbx + 6], 0xf
jne 0x1401ded28
xor edi, edi
cmp word [rbx + 4], di
jne 0x1401ded28
cmp word [rbx + 2], di
jne 0x1401ded28
cmp word [rbx], di
jne 0x1401ded28
lea esi, [rdi + 1]
jmp 0x1401ded2d
mov esi, 2
movzx eax, si
jmp 0x1401def2d
xor edi, edi
test cx, cx
jne 0x1401ded50
mov rcx, rbx
call fcn.1401e3fcc
movzx ecx, ax
cmp di, ax
jl 0x1401def2a
movsx edx, cx
test esi, esi
jle 0x1401ded80
sub ebp, edx
cmp ebp, esi
jg 0x1401ded80
movsd xmm0, qword [0x140292eb0]
cmp word [rbx + 6], di
jge 0x1401ded72
xorps xmm0, xmmword [0x14028ff80]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1401def2d
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1401dedad
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1401def2d
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x1401def1f
test ebp, ebp
jns 0x1401def1f
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1401dee42
movzx edx, word [rbx + 4]
mov eax, 0xfff0
movzx r8d, word [rbx + 2]
sub ax, bp
shr ax, 4
add ax, si
movzx ecx, ax
movzx eax, cx
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], r8w
movzx r8d, dx
movzx edx, r11w
mov r11d, edi
sub rcx, rsi
jne 0x1401dee14
mov word [rbx + 4], dx
mov word [rbx + 2], r8w
neg bp
je 0x1401deec1
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1401deed7
jne 0x1401deef6
test byte [rbx], sil
je 0x1401deef6
add word [rbx], si
jne 0x1401deef6
add word [rbx + 2], si
jne 0x1401deef6
add word [rbx + 4], si
jne 0x1401deef6
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1401deda5
cmp r11w, r15w
jne 0x1401deda5
cmp word [rbx + 4], di
jne 0x1401deda5
cmp word [rbx + 2], di
jne 0x1401deda5
movzx eax, word [rbx]
neg ax
sbb ax, ax
jmp 0x1401def2d
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401df3c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401df3da
mov al, 1
jmp 0x1401df43a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401df3eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401df438
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401c203c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401df438
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401df438
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401df438
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401df43a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401eeda0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x1401eede6
mov r15, rbx
test r15, r15
je 0x1401eeec2
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x1401eee42
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x1401eee31
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401e56b0
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x1401eedc2
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x1401eeede
lea rcx, [r13*8]
call fcn.1401a9d88
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x1401eeea4
lea r15, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x1401eeec2
mov r10, qword [r14 + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401eee8c
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x1401eeec4
add rbx, 0xfffffffffffffff8
jne 0x1401eeeb7
ud2
test r12, r12
je 0x1401eedc2
mov rcx, r12
call fcn.1401a9dc4
mov r15, qword [rsi + 0x10]
jmp 0x1401eedc2
call fcn.1401e9820
int3
Function at 0x1401fbd90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x9f8
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
lea rdi, [rsp + 0x27]
mov byte [rdi], 0xaa
mov rcx, rdi
call fcn.1401fc000
lea rbx, [rsp + 0x28]
mov r8d, 0x9c0
mov rcx, rbx
mov dl, 0xaa
call fcn.1401e5d50
mov rcx, rdi
call fcn.140224f00
mov dword [rbx], eax
mov ecx, 1
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rsp + rcx*4 + 0x28], eax
inc rcx
cmp rcx, 0x270
jne 0x1401fbdfa
mov qword [rsp + 0x9e8], 0
mov r14d, 0x10
xor r12d, r12d
movabs r15, 0xd20d20d20d20d21
mov ebp, 0x80000000
jmp 0x1401fbe8f
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1401fbe59
call fcn.1401ac870
int3
mov rax, rsi
add rsp, 0x9f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r12, r12
je 0x1401fbfeb
mov byte [r12], r13b
inc r12
mov r13, r12
mov qword [rsi + 8], r13
mov r12, r13
dec r14
je 0x1401fbe3f
mov rcx, qword [rsp + 0x9e8]
lea rax, [rcx + 1]
shr rax, 4
mul r15
shr rdx, 1
imul rax, rdx, 0x270
neg rax
lea r8, [rcx + rax]
inc r8
mov r10d, r8d
lea r9, [rcx + 0x18d]
mov rax, r9
shr rax, 4
mul r15
mov eax, dword [rsp + r10*4 + 0x28]
mov r10d, 0x9908b0df
test al, 1
jne 0x1401fbedc
xor r10d, r10d
mov r11d, dword [rsp + rcx*4 + 0x28]
and r11d, ebp
and eax, 0x7ffffffe
or eax, r11d
shr edx, 1
imul edx, edx, 0x270
sub r9d, edx
shr eax, 1
xor r10d, dword [rsp + r9*4 + 0x28]
xor r10d, eax
mov dword [rsp + rcx*4 + 0x28], r10d
mov rax, qword [rsp + 0x9e8]
mov eax, dword [rsp + rax*4 + 0x28]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov qword [rsp + 0x9e8], r8
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov r13d, eax
shl r13d, 0xf
and r13d, 0x3c40000
xor r13d, eax
shr r13d, 0x12
xor r13d, eax
mov rax, qword [rsi + 0x10]
cmp r12, rax
jb 0x1401fbe70
mov rdx, qword [rsi]
sub r12, rdx
mov rcx, r12
inc rcx
js 0x1401fbfed
sub rax, rdx
lea rdi, [rax + rax]
cmp rdi, rcx
ja 0x1401fbf73
mov rdi, rcx
movabs rcx, 0x3fffffffffffffff
cmp rax, rcx
movabs rax, 0x7fffffffffffffff
cmovae rdi, rax
test rdi, rdi
je 0x1401fbfe7
mov rcx, rdi
call fcn.1401a9d88
mov rbx, rax
add r12, rbx
je 0x1401fbfeb
add rbx, rdi
mov byte [r12], r13b
lea r13, [r12 + 1]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdi, rdx
sub rdi, r8
add rdi, r12
sub r8, rdx
mov rcx, rdi
call fcn.1401e56b0
mov rcx, qword [rsi]
mov qword [rsi], rdi
mov qword [rsi + 0x10], rbx
test rcx, rcx
je 0x1401fbe83
call fcn.1401a9dc4
jmp 0x1401fbe83
xor ebx, ebx
jmp 0x1401fbf9e
ud2
mov rcx, rsi
call fcn.1401e9f80
int3
Function at 0x14020f3d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14020f407
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x14020f3e1
ret

Function at 0x14020f480
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14020f4b8
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x14020f491
ret

Function at 0x140215950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1402159bd
movzx edx, word [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov word [rsp + 0x20], dx
mov rdx, rsi
mov r8, rdi
call qword [0x1402cbd20]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x14021599f
call fcn.1401a9dc4
jmp 0x14021599f
mov rax, qword [r9 + 0x30]
mov qword [rbp - 0x20], rax
lea rcx, [0x14032d430]
mov qword [rbp - 8], rax
cmp rax, rcx
jne 0x140215ae7
lea rdx, [0x14032d608]
lea rcx, [rbp - 0x20]
call fcn.14014a660
mov r14, rax
mov rcx, qword [rbp - 8]
lea rax, [0x14032d430]
cmp rcx, rax
je 0x140215a17
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140215a17
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1402cbd20]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rbp - 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140299a90]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1402cbd20]
movsx rax, byte [rbx + 0x17]
test rax, rax
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov r8, rax
cmovs r8, rdx
test r8, r8
je 0x1402159af
test al, al
mov r14, rbx
cmovs r14, rcx
jmp 0x140215abd
xor edi, edi
jmp 0x140215a9b
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x140215a90
xor edi, edi
mov al, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add r14, 2
test al, al
mov r8, rbx
cmovs r8, rcx
movzx r9d, al
cmovs r9, rdx
lea r8, [r8 + r9*2]
cmp r14, r8
je 0x1402159af
test rdi, rdi
je 0x140215a79
movzx eax, word [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
jne 0x140215a7d
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, r8
call qword [0x1402cbd20]
jmp 0x140215a88
mov rax, qword [rbp - 8]
lock inc dword [rax + 8]
jmp 0x1402159d9
Function at 0x140226ab0
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 [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 1
je 0x140226ad9
mov rcx, qword [rsi]
jmp 0x140226ae2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140226b35
mov dil, 1
test bl, bl
je 0x140226b14
cmp byte [rsi + 8], 1
je 0x140226b00
mov rcx, qword [rsi]
jmp 0x140226b09
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
cmp rcx, qword [0x1402db040]
je 0x140226b2b
call fcn.1401ac870
int3
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 1
jne 0x140226b4c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140226b4f
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140226b62
xor edi, edi
jmp 0x140226b14
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 1
je 0x140226b75
mov rcx, qword [rsi]
jmp 0x140226b7e
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 0x140226b14
Function at 0x1402299a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14032e450], 0
je 0x1402299f0
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1402299e3
call fcn.1401ac870
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14032e458]
test rdi, rdi
jne 0x140229abd
mov ecx, Ordinal_26
call fcn.1401a9d88
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401e5d50
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140299a90]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401485f0
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x140229a6a
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140229aa1
add rax, rax
test rax, rax
je 0x140229aa1
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x140229a72
cmp rdx, 0xfffffffffffffffe
je 0x140229aa1
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.140119970
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14014d310
mov qword [0x14032e458], rdi
test byte [0x1402dd720], 1
je 0x1402299c9
cmp byte [rdi + 0x17], 0
jns 0x140229ad3
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
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 [0x14032e450], rax
inc rax
cmp rax, 1
ja 0x1402299c9
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401e5d50
mov word [rsi], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x140229c0b
mov rcx, qword [0x14032e458]
lea rdx, [rsp + 0x40]
call fcn.14002e7a0
mov rcx, qword [0x14032e458]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x140229c1a
test al, al
je 0x140229c2b
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140229ba1
lea rdx, [0x1402a0c64]
mov r8d, 1
call fcn.14014d310
mov rcx, qword [0x14032e458]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14014d310
mov rcx, qword [0x14032e458]
cmp byte [rcx + 0x17], 0
jns 0x140229bc3
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14032e450], rax
inc rax
cmp rax, 1
ja 0x140229c12
mov qword [0x14032e450], 0
xor esi, esi
jmp 0x1402299c9
mov sil, 1
jmp 0x1402299c9
mov rax, qword [rcx + 8]
test rax, rax
je 0x140229c2b
mov rdx, qword [rcx]
jmp 0x140229b80
ud2
Function at 0x140240150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x1402401a6
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.140256d50
test al, al
jne 0x1402401a2
add rdi, 0x70
cmp rdi, r15
jne 0x14024018a
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x1402401df
cmp byte [rdi + 0x27], 0
js 0x1402401b7
lea rcx, [rdi + 0x10]
jmp 0x1402401bb
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
test eax, eax
jne 0x1402401e4
mov qword [rsi], rdi
xor eax, eax
jmp 0x1402401e4
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x1402401fb
call fcn.1401ac870
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140240370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x1402403ca
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.140256d50
test al, al
jne 0x1402403c6
add rbx, 0x70
cmp rbx, r15
jne 0x1402403ae
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14024041d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14024040e
cmp byte [rbx + 0x27], 0
js 0x1402403e8
lea rcx, [rbx + 0x10]
jmp 0x1402403ec
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14024041d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14024041d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14024041d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x140240434
call fcn.1401ac870
int3
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402405a0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x190], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], rax
mov rdx, rbx
call fcn.1400572d0
mov r12, qword [rbx]
test r12, r12
je 0x140240654
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov r15, qword [r12 + 0x50]
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
je 0x140240637
lea r14, [rsp + 0x50]
mov rcx, r15
mov rdx, r14
call fcn.140256d50
test al, al
jne 0x140240632
add r15, 0x70
cmp r15, rbx
jne 0x14024061a
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
jne 0x140240693
mov esi, 1
cmp byte [rsp + 0x47], 0
jns 0x140240659
mov rcx, qword [rsp + 0x30]
call fcn.1401a9dc4
jmp 0x140240659
mov esi, 3
lea rcx, [rsp + 0x48]
call fcn.140056a20
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x1402db040]
je 0x14024067d
call fcn.1401ac870
int3
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [r15 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140175a50
mov r13, qword [r12 + 0x58]
cmp r13, r15
je 0x140240823
lea rax, [r12 + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [r15 + 0x70]
mov rdx, r15
cmp rax, r13
je 0x1402406cf
xor ebp, ebp
mov rbx, r15
jmp 0x140240783
sub rdx, r15
add rdx, r15
mov rcx, qword [rsp + 0x28]
call fcn.140241770
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x47], 0
lea rcx, [rsp + 0x30]
jns 0x1402406f6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1402407ad
mov rcx, rdi
mov rdx, rsi
call fcn.140254f20
xor esi, esi
jmp 0x140240641
mov rcx, qword [r14]
call fcn.1401a9dc4
mov rax, qword [rbx + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbx + 0x98]
movups xmmword [r14], xmm0
mov byte [rbx + 0xaf], bpl
mov byte [rbx + 0x98], bpl
movups xmm0, xmmword [rbx + 0xb0]
movups xmm1, xmmword [rbx + 0xc0]
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm1
mov rax, qword [rbx + 0xd0]
mov qword [rbx + 0x60], rax
mov eax, dword [rbx + 0xd8]
mov dword [rbx + 0x68], eax
lea rdx, [rbx + 0x70]
add rbx, 0xe0
cmp rbx, r13
mov rbx, rdx
je 0x1402406cf
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
lea rdx, [rbx + 0x80]
call fcn.140066b90
lea r14, [rbx + 0x28]
cmp byte [rbx + 0x3f], 0
jns 0x14024071e
jmp 0x140240716
mov esi, 2
mov ecx, 2
call fcn.1401a8160
test al, al
je 0x140240641
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov esi, 2
mov rcx, rdi
mov r8d, 0x36f
mov r9d, 2
call fcn.14022a1d0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.14018fa80
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14022b160
mov rcx, rdi
call fcn.14022a240
jmp 0x140240641
ud2
Function at 0x1402460a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140334da0]
test rax, rax
jne 0x1402460e4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140334da0]
test rax, rax
je 0x1402460d1
cmp eax, 2
jne 0x14024612d
cmp dword [0x14032e460], 2
jg 0x1402461c4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.14002e970
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1402461b7
mov eax, 1
lock xadd qword [0x140334dd8], rax
inc rax
cmp rax, 2
jl 0x140246151
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140334d60], eax
mov qword [0x140334d58], rsi
mov rcx, qword [0x1402e9850]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14032e460], 2
jg 0x1402461c4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.14002e970
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.14018fa80
mov rcx, rsi
call fcn.140001aa0
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 [0x1402db040]
je 0x1402461f2
call fcn.1401ac870
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret