joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e4740
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r15, rdx
mov r14d, ecx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1402961a0]
movaps xmmword [rsi], xmm0
lea rdx, str.CreateLocalWmiConnection
lea r8, str..._.._base_win_wmi.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r9d, 0x1d
call fcn.14012aa00
lea r8, [0x1402e2144]
mov rcx, rsi
mov rdx, rbx
call fcn.1400b41b0
mov qword [rbx], 0
mov qword [rsp + 0x20], rbx
lea rcx, [0x14027e1a0]
lea r9, [0x1402a55e8]
xor esi, esi
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401e48b9
xor esi, esi
lea rdi, [rsp + 0x68]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x70]
lea rax, [0x1402a55f8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.1400d71b0
mov rdx, qword [rbp]
mov rax, qword [rbx]
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rbp
call fcn.1400d7200
test ebx, ebx
js 0x1401e490a
test r14b, r14b
je 0x1401e489d
mov rcx, qword [rsp + 0x68]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor esi, esi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1401e490a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov rcx, qword [r15]
mov qword [r15], rax
mov sil, 1
test rcx, rcx
jne 0x1401e4901
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401e48d2
mov qword [rsp + 0x70], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400b42b0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140143020
mov eax, esi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401e48b9
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401e48b9
Function at 0x1401e6d40
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1402961a0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1402a58c8]
lea r8, str..._.._base_win_shortcut.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x16c
call fcn.14012aa00
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140131050
cmp byte [rdi + 0x17], 0
jns 0x1401e6dc4
mov rdi, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge bl
mov rcx, rsi
call fcn.1401310b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140143020
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140203300
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
test rdx, rdx
jne 0x14020335e
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140143020
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movaps xmm6, xmmword [0x1402961a0]
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
test byte [0x1402e4017], 0x40
je 0x1402033aa
mov eax, 0x40000000
and eax, dword [0x1402e4010]
je 0x1402033aa
lea rcx, [rsp + 0x1c0]
mov edx, 0x20
call fcn.140019a50
test eax, eax
jne 0x1402033da
call fcn.140238690
test eax, eax
jne 0x1402033c7
lea rcx, [rsp + 0x1c0]
mov edx, 0x20
call fcn.1402386c0
jmp 0x1402033da
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1c0], xmm0
lea r15, [rsp + 0x1bc]
xor eax, eax
mov cl, byte [rbx + rax]
xor byte [rsp + rax + 0x1c0], cl
inc rax
cmp rax, 0x20
jne 0x1402033e4
lea r14, [rsp + 0x90]
mov r8d, 0x130
mov rcx, r14
mov dl, 0xaa
call fcn.140145e20
mov ecx, 1
call fcn.1400e2a30
test rax, rax
jne 0x1402035c6
mov ecx, 0x130
call fcn.1400cece0
test rax, rax
je 0x140203450
mov r12, rax
lea r8, [0x14020b2d0]
mov ecx, 1
mov rdx, rax
call fcn.1400e2b00
test eax, eax
jne 0x1402035e8
mov r12, r14
mov dword [r15], 0
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov edx, 0x30
mov rcx, rbx
call fcn.1402386c0
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov rcx, r12
mov rdx, rbx
xor r9d, r9d
call fcn.14020aeb0
test eax, eax
je 0x1402035f7
lea r13, [r12 + 0x128]
mov dword [r12 + 0x128], 0
mov qword [r12 + 0x120], 0
cmp qword [r12 + 0x120], 0
je 0x140203524
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov edx, 0x30
mov rcx, rbx
call fcn.1402386c0
mov r8d, 0x30
mov rcx, r12
mov rdx, rbx
call fcn.14020af80
test eax, eax
je 0x1402035f7
mov qword [r12 + 0x118], 1
mov dword [r13], 0
mov qword [r12 + 0x120], 0
mov ebx, 0x10000
cmp rsi, rbx
cmovb rbx, rsi
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x1c0]
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.14020b0d0
test eax, eax
je 0x1402035f7
inc dword [r13]
sub rsi, rbx
je 0x1402035a6
add rdi, rbx
mov ebp, 0x10000
lea r15, [rsp + 0x1c0]
cmp rsi, rbp
mov ebx, 0x10000
cmovb rbx, rsi
mov qword [rsp + 0x20], 0
mov rcx, r12
mov rdx, rdi
mov r8, rbx
mov r9, r15
call fcn.14020b0d0
test eax, eax
je 0x1402035f7
add rdi, rbx
inc dword [r13]
sub rsi, rbx
jne 0x140203570
cmp r12, r14
jne 0x140203332
lea rcx, [rsp + 0x90]
mov edx, 0x120
call fcn.140137a80
jmp 0x140203332
mov r12, rax
mov r13, rax
add r13, 0x128
cmp dword [rax + 0x128], 0xfff
jbe 0x1402034c3
jmp 0x1402034ce
mov r15, r12
add r15, 0x12c
jmp 0x140203453
call fcn.1401564d0
int3
Function at 0x140209940
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rbx, r8
mov r12, rdx
mov r14, rcx
mov r10d, dword [rsp + 0xe0]
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x78], rax
movsxd r8, dword [rcx + 0x18]
lea ecx, [r10 + 4]
mov esi, ecx
shr esi, 6
xor edx, edx
mov edi, 0
cmp rsi, r8
jae 0x140209998
mov rdi, qword [r9 + rsi*8]
shr rdi, cl
shl edi, 5
and edi, 0x20
lea ecx, [r10 + 3]
mov eax, ecx
shr eax, 6
cmp rax, r8
jae 0x1402099b3
mov rdx, qword [r9 + rax*8]
shr rdx, cl
shl edx, 4
and edx, 0x10
or edx, edi
lea ecx, [r10 + 2]
mov eax, ecx
shr eax, 6
xor edi, edi
mov esi, 0
cmp rax, r8
jae 0x1402099d7
mov rsi, qword [r9 + rax*8]
shr rsi, cl
shl esi, 3
and esi, 8
or edx, esi
lea ecx, [r10 + 1]
mov eax, ecx
shr eax, 6
cmp rax, r8
jae 0x1402099f4
mov rdi, qword [r9 + rax*8]
shr rdi, cl
shl edi, 2
and edi, 4
or edx, edi
mov eax, r10d
shr eax, 6
xor edi, edi
cmp rax, r8
jae 0x140209a12
mov rdi, qword [r9 + rax*8]
mov ecx, r10d
shr rdi, cl
add edi, edi
and edi, 2
or edx, edi
test r10d, r10d
je 0x140209a38
dec r10d
mov eax, r10d
shr eax, 6
xor edi, edi
cmp rax, r8
jae 0x140209a36
mov rdi, qword [r9 + rax*8]
mov ecx, r10d
shr rdi, cl
and edi, 1
or edx, edi
mov r15d, edx
shr r15, 5
lea eax, [r15 - 1]
neg r15
and eax, edx
xor edx, 0x3f
mov r13d, r15d
and r13d, edx
or r13d, eax
mov rax, r13
shr rax, 1
and r13d, 1
add r13, rax
xor esi, esi
mov r8d, 0xd8
mov rcx, r12
xor edx, edx
call fcn.140145e20
mov rdi, r13
not rdi
mov r8, rsi
xor r8, r13
dec r8
and r8, rdi
sar r8, 0x3f
mov qword [rsp + 0x20], r12
mov rcx, r14
mov rdx, r12
mov r9, rbx
call fcn.140206580
inc rsi
add rbx, 0xd8
cmp rsi, 0x11
jne 0x140209a79
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx + 0x40], rax
movaps xmm0, xmmword [0x1402961a0]
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [r12 + 0x48]
mov rcx, r14
call fcn.1402089f0
movsxd rax, dword [r14 + 0x40]
test rax, rax
je 0x140209b18
and r15d, 1
lea rcx, [r15 - 1]
neg r15
xor edx, edx
mov rbx, qword [rsp + rdx*8 + 0x30]
and rbx, r15
mov rdi, qword [r12 + rdx*8 + 0x48]
and rdi, rcx
or rdi, rbx
mov qword [r12 + rdx*8 + 0x48], rdi
inc rdx
cmp rax, rdx
jne 0x140209af8
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140143020
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14020aeb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
cmp r9, 0x30
jbe 0x14020aee3
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
ret
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
test r9, r9
je 0x14020af17
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
jne 0x14020af07
xor eax, eax
lea rcx, [0x1402a9380]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x14020af20
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.1402041c0
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov edi, 1
jmp 0x14020aecd

Function at 0x14020af80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
cmp r8, 0x30
jbe 0x14020afc7
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143020
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1402961a0]
lea r14, [rsp + 0x50]
movaps xmmword [r14], xmm0
movaps xmmword [r14 - 0x10], xmm0
movaps xmmword [r14 - 0x20], xmm0
lea r13, [rsp + 0x40]
lea r15, [rcx + 0x108]
lea r12, [rcx + 0xf8]
mov ecx, dword [rcx + 0x114]
call fcn.14015082c
lea ecx, [rax + 1]
call fcn.14015082c
mov dword [rsi + 0x114], eax
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.14015082c
lea ecx, [rax + 1]
call fcn.14015082c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r13
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.14015082c
lea ecx, [rax + 1]
call fcn.14015082c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r14
mov r8, rsi
call qword [rsi + 0xf8]
test rbx, rbx
je 0x14020b08d
xor eax, eax
mov cl, byte [rdi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rbx, rax
jne 0x14020b07e
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.1402041c0
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov ebp, 1
jmp 0x14020afa7
Function at 0x140215010
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
mov rcx, qword [r8]
cmovns rcx, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rcx
cmovs rax, qword [r8 + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140050810
cmp byte [rsi + 0x17], 0
jns 0x14021506b
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140050810
cmp byte [rdi + 0x17], 0
jns 0x140215090
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1402150af
mov rcx, qword [rsp + 0x48]
call fcn.140142744
cmp byte [rsp + 0x87], 0
jns 0x1402150c3
mov rcx, qword [rsp + 0x70]
call fcn.140142744
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140143020
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140218450
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r15, rdx
mov rdi, rcx
lea r12, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1402184f2
lea rbx, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x140218505
mov qword [rsp + 0x20], rbx
lea rcx, [0x14027e210]
lea r9, [0x1402ae2b0]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rsi, qword [rbx]
test eax, eax
js 0x140218517
mov rcx, qword [r12]
test rcx, rcx
jne 0x14021852b
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, r12
call qword [rax + 0x90]
test eax, eax
js 0x14021853e
mov rcx, rdi
mov rdx, r15
call fcn.140049330
add rdi, 0x18
mov rcx, rdi
mov rdx, r14
call fcn.140049f80
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [r12], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140218473
mov qword [rbx], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140218484
test rsi, rsi
je 0x140218555
mov qword [rbx], 0
mov rax, qword [rsi]
mov rcx, rsi
jmp 0x140218552
mov qword [r12], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1402184b5
mov rcx, qword [r12]
test rcx, rcx
je 0x140218555
mov qword [r12], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x1402184e4
Function at 0x140221610
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402e4d20]
mov ecx, dword [0x1402da9d4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402218a5
mov rax, qword [0x1402e4d18]
test rax, rax
jne 0x140221750
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402961a0]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1402218f0
test al, al
je 0x1402217ca
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x14022189b
call fcn.1400d06f0
test al, al
je 0x140221836
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400cfcf0
mov sil, 1
test al, al
jne 0x140221819
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140221817
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14004c600
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x14022180a
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
jne 0x140221878
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14022166b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x40]
lea rdx, [0x1402aaf38]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.140124730
mov rcx, rbx
call fcn.140194530
jmp 0x14022166b
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140221817
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14004c600
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.140124730
mov rcx, rsi
call fcn.14004caa0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140143020
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140221817
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14004c600
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x14022180a
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140221672
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1402216a7
call fcn.1400d0d90
jmp 0x1402216e3
lea rcx, [0x1402e4d20]
call fcn.140142860
cmp dword [0x1402e4d20], 0xffffffff
jne 0x14022165b
lea rcx, [0x14029c8f6]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400d2590
mov qword [0x1402e4d18], rax
lea rcx, [0x1402e4d20]
call fcn.1401428f8
jmp 0x14022165b
Function at 0x1402286c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1402286ea
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14022872b
mov edi, eax
test bl, bl
jne 0x1402287e3
mov eax, edi
and eax, 0x400
je 0x1402287e3
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14022870c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x81
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402287b8
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
cmp byte [rsp + 0x57], 0
jns 0x1402287d4
mov rcx, qword [rsp + 0x40]
call fcn.140142744
lea rcx, [rsp + 0x58]
call fcn.140194530
jmp 0x14022870c
and edi, 0x10
shr edi, 4
jmp 0x14022870e
Function at 0x1402287f0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14022881b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x140228847
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14022885c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140228929
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140228922
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x61
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402288f6
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
cmp byte [rsp + 0x1a7], 0
jns 0x140228918
mov rcx, qword [rsp + 0x190]
call fcn.140142744
lea rcx, [rsp + 0x40]
call fcn.140194530
xor edi, edi
jmp 0x14022882a
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1402286c0
test al, al
jne 0x14022882a
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140228922
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5c
mov r9d, 2
call fcn.14004c600
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402289b9
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140124730
cmp byte [rsp + 0x1a7], 0
jns 0x1402289f0
mov rcx, qword [rsp + 0x190]
call fcn.140142744
lea rcx, [rsp + 0x40]
call fcn.14004caa0
jmp 0x140228922
Function at 0x140228a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140228a27
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140228a57
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140143020
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140228b0e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x74
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140228ae8
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
cmp byte [rsp + 0x4f], 0
jns 0x140228b04
mov rcx, qword [rsp + 0x38]
call fcn.140142744
lea rcx, [rsp + 0x50]
call fcn.140194530
xor esi, esi
jmp 0x140228a3b

Function at 0x140228b20
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140228b47
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140228b62
and eax, 0x410
cmp eax, 0x410
je 0x140228c55
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140228b6e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x140228b97
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140143020
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x140228c4e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.1401944b0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.140124730
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140050840
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140228c28
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140124730
cmp byte [rsp + 0x4f], 0
jns 0x140228c44
mov rcx, qword [rsp + 0x38]
call fcn.140142744
lea rcx, [rsp + 0x50]
call fcn.140194530
xor edi, edi
jmp 0x140228b7b
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140143020
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140228c80