joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140237930
Capabilities:
Initialize winhttp library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x158
mov r10d, r8d
mov rsi, rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [0x14037e040]
xor rcx, rsp
mov qword [rsp + 0x150], rcx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rcx
movaps xmm0, xmmword [0x1402faf80]
movups xmmword [rsi], xmm0
cmp qword [rax + 8], 0
je 0x140237afe
mov rax, qword [rax]
cmp qword [r9 + 8], 0
je 0x140237af6
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, [0x1402ff358]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x140237ad6
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1401a5660
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 + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140237ad6
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1401a5660
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
movabs rcx, 0x300000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x140237ad6
lea r8, [rsp + 0x34]
mov dword [r8], 0xa80
mov rcx, rdi
mov edx, 0x54
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r8d, r8d
jmp 0x140237990
xor eax, eax
jmp 0x140237982
Function at 0x140239500
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
movsx rax, byte [rcx + 0x10f]
test rax, rax
js 0x1402395df
lea rcx, [rdi + 0xf8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rax, rax
sete al
test rcx, rcx
setne cl
or cl, al
je 0x140239600
shl ebp, 0x17
or ebp, 0x100
lea rbx, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400bf6c0
cmp byte [rbx + 0x17], 0
jns 0x140239580
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, [0x1402ff358]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x1402395c6
mov rcx, qword [rsp + 0x48]
call fcn.14016b728
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdi + 0xf8]
mov rax, qword [rdi + 0x100]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rax, rax
jns 0x140239546
ud2

Function at 0x140239ad0
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x20
cmp qword [rcx + 0x40], 0
je 0x140239b6c
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
jbe 0x140239b25
cmp rax, 0x4000
je 0x140239b47
add rax, 0xffffffffffffc000
dec r8
cmp rax, r8
ja 0x140239b79
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x140239b4c
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.1401098f0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x140239b79
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor esi, esi
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140239b71
add rsp, 0x20
pop rsi
jmp fcn.14027a5a0
mov esi, 0x800704c7
mov eax, esi
add rsp, 0x20
pop rsi
ret
ud2

Function at 0x14023bc20
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5660
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14023bcaf
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14018deb4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140125dc0
mov rcx, rsi
mov rdx, rbx
call fcn.140077280
mov rcx, rbx
call fcn.140125f00
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14023c1e0
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 [0x14037e040]
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 0x14023c236
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.14023dcd0
test al, al
jne 0x14023c232
add rdi, 0x70
cmp rdi, r15
jne 0x14023c21a
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x14023c26f
cmp byte [rdi + 0x27], 0
js 0x14023c247
lea rcx, [rdi + 0x10]
jmp 0x14023c24b
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 ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x14023c274
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x14023c274
mov ebx, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14023c3f0
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 [0x14037e040]
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 0x14023c44a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.14023dcd0
test al, al
jne 0x14023c446
add rbx, 0x70
cmp rbx, r15
jne 0x14023c42e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14023c49d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14023c48e
cmp byte [rbx + 0x27], 0
jns 0x14023c468
mov rcx, qword [rbx + 0x10]
jmp 0x14023c46c
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14023c49d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14023c49d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14023c49d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14016cc60
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140242e20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140242e7f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x140242e3b
cmp rdx, r9
jb 0x140242e8e
ja 0x140242eb2
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140242e90
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140242e86
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140242eb5
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140242e86
Function at 0x14024c430
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
mov eax, 1
ret
Function at 0x140274730
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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1403989f0]
mov ecx, dword [0x14038f0a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402749b1
mov rax, qword [0x1403989e8]
test rax, rax
je 0x14027481b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x14036e598]
test eax, eax
je 0x1402747c5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140274822
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140274853
mov ecx, 2
call fcn.140124de0
test al, al
je 0x14027481b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4d
mov r9d, 2
call fcn.1401dd1d0
lea rcx, [rsp + 0x40]
lea rdx, [0x1403273f0]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400fd720
mov rcx, rbx
call fcn.1401dd240
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402faf80]
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]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.140274a00
test al, al
jne 0x1402748de
mov ecx, 2
call fcn.140124de0
test al, al
je 0x1402748bf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.1400740b0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400fd720
mov rcx, rsi
call fcn.140074680
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14016cc60
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x1402748f8
mov rcx, rdi
mov r8, rsi
call fcn.140274c40
jmp 0x140274903
mov rcx, rdi
mov r8, rsi
call fcn.1402752f0
test al, al
jne 0x14027494c
mov ecx, 2
call fcn.140124de0
test al, al
je 0x1402748bf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.1400740b0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1402748b2
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140273c00
mov sil, 1
test al, al
jne 0x1402748c1
mov ecx, 2
call fcn.140124de0
test al, al
je 0x1402748bf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.1400740b0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1402748b2
lea rcx, [0x1403989f0]
call fcn.14016b76c
cmp dword [0x1403989f0], 0xffffffff
jne 0x14027477b
lea rcx, [0x140309b84]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400bf200
mov qword [0x1403989e8], rax
lea rcx, [0x1403989f0]
call fcn.14016b820
jmp 0x14027477b
Function at 0x14027a5d0
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov rdi, r8
mov ebx, edx
mov r14, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r12, [rsp + 0x54]
mov dword [r12], 0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
cmp ebp, 0x8007007a
je 0x14027a65e
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebp
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x30]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [r15], xmm0
mov edx, dword [rsp + 0x54]
shr edx, 1
mov rcx, r15
call fcn.1401ae980
mov r9, qword [r15]
cmp r9, qword [r15 + 8]
je 0x14027a6ed
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov rcx, r14
mov edx, ebx
mov r8, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14027a6fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14027a640
mov rax, qword [rsp + 0x38]
cmp rax, rcx
je 0x14027a6ef
add rax, 0xfffffffffffffffe
jne 0x14027a6e2
ud2
mov qword [rsp + 0x38], rcx
call fcn.14016b728
jmp 0x14027a640
mov edx, dword [rsp + 0x54]
test dl, 1
jne 0x14027a732
shr edx, 1
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140037dd0
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, r8
sub r9, rdx
sar r9, 1
mov rcx, rsi
call fcn.14027a970
xor ebp, ebp
jmp 0x14027a6cf
int3

Function at 0x14027a740
Capabilities:
Read http header

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
or edx, 0x20000000
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
test eax, eax
jne 0x14027a79b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
cmovne esi, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14016cc60
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1402805b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1402805da
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402805f9
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x14028065a
and edi, 0x10
shr edi, 4
jmp 0x14028065c
mov ecx, 2
call fcn.140124de0
test al, al
je 0x14028065a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1401dd1d0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400fd720
mov rcx, rax
mov rdx, rsi
call fcn.1401de440
mov rcx, rdi
call fcn.1401dd240
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14016cc60
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x140280680
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1402806ab
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140280732
test bl, bl
je 0x1402806cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14028074f
mov ecx, 2
call fcn.140124de0
test al, al
je 0x140280730
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.1401dd1d0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400fd720
mov rcx, rax
mov rdx, rsi
call fcn.1401de440
mov rcx, rdi
call fcn.1401dd240
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14016cc60
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1402805b0
test al, al
jne 0x140280732
mov ecx, 2
call fcn.140124de0
test al, al
je 0x140280730
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.1400740b0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1401de440
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400fd720
mov rcx, rdi
call fcn.140074680
jmp 0x140280730
Function at 0x1402807c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1402807e7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140280817
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016cc60
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140124de0
test al, al
je 0x140280878
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1401dd1d0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400fd720
mov rcx, rax
mov rdx, rsi
call fcn.1401de440
mov rcx, rdi
call fcn.1401dd240
xor esi, esi
jmp 0x1402807fb

Function at 0x1402824d0
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.1401a5660
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
jne 0x14028250c
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x140282518
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140298680
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x14039c7d0]
mov ecx, dword [0x14038f0a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402986e2
cmp rdi, rsi
je 0x1402986de
mov eax, 0xffffffff
lea rcx, [0x14039c3d0]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x1402986bf
not eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x1402986d6
lea rcx, [0x14039c7d0]
call fcn.14016b76c
cmp dword [0x14039c7d0], 0xffffffff
jne 0x1402986ae
lea rbx, [0x14039c3d0]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5660
xor eax, eax
mov ecx, 0xedb88320
mov r8d, eax
shr r8d, 1
mov edx, eax
and edx, 1
neg edx
and edx, ecx
xor edx, r8d
mov r9d, edx
shr r9d, 1
mov r8d, eax
shl r8d, 0x1e
sar r8d, 0x1f
and r8d, ecx
xor r8d, r9d
mov r9d, r8d
shr r9d, 6
mov r10d, eax
shl r10d, 0x1d
sar r10d, 0x1f
and r10d, 0x76dc419
mov r11d, eax
shl r11d, 0x1c
sar r11d, 0x1f
and r11d, 0xedb8832
xor r11d, r10d
mov r10d, eax
shl r10d, 0x1b
sar r10d, 0x1f
and r10d, 0x1db71064
xor r10d, r11d
mov r11d, eax
shl r11d, 0x1a
sar r11d, 0x1f
and r11d, 0x3b6e20c8
xor r11d, r10d
xor r11d, r9d
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, r11d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, ecx
xor r8d, edx
mov dword [rbx], r8d
inc rax
add rbx, 4
cmp rax, 0x100
jne 0x140298715
lea rcx, [0x14039c7d0]
call fcn.14016b820
jmp 0x1402986ae
Function at 0x1402cc110
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x1402cc170
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1402daaa0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1402daadf
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1402daaaf
mov dword [rsi], 7
jmp 0x1402daaaf
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400e7fc0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1402daabb
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1402daabb
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1402dab91
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x1402daab1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1402daaaf