joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007c0b0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140066950
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14007c244
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140315088]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14007c27b
lea rdx, [0x1403150d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007c269
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1403b5008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14007c271
test r12d, r12d
js 0x14007c2e6
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140197388
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14007c28e
mov rdx, qword [r14 + r15]
call fcn.1401d11a0
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14007c1b2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14007bbb0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14007c206
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14007c244
cmp r15, rbx
je 0x14007c23c
add r15, 0xffffffffffffffe8
jmp 0x14007c22a
mov rcx, qword [r15]
call fcn.1401973c4
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14007c23c
test r15, r15
je 0x14007c2ba
cmp byte [r15 + 0x17], 0
jns 0x14007c21e
jmp 0x14007c216
mov rcx, rbx
call fcn.1401973c4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140198b70
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14007c164
xor r15d, r15d
xor ebx, ebx
jmp 0x14007c1df
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14007c161
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.1401df1c0
lea rax, str.null_pointer_given_to_destroy_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.__loc___nullptr
mov r8d, 0x44
call fcn.1401df1c0
lea rcx, [rsp + 0x30]
call fcn.1401d1330
int3

Function at 0x140084fd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x140084fea
test r8d, r8d
jne 0x140084fe3
call fcn.1400ce2d0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.14014f650
Function at 0x140085f80
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x200
mov rcx, rdi
mov dl, 0xaa
call fcn.14019acc0
lea rbx, [rsp + 0x3c]
mov dword [rbx], 0x100
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
setne al
mov ecx, dword [rbx]
test rcx, rcx
setne bl
and bl, al
je 0x1400860e2
mov r8b, byte [rsi + 0x17]
test r8b, r8b
js 0x1400860bd
mov rdx, rsi
cmp ecx, 0xa
jbe 0x140086072
movzx edx, r8b
mov eax, r8d
cmp rdx, rcx
cmova rcx, rdx
mov r9d, 0xa
mov edx, 0xa
cmp rcx, 0xb
jb 0x14008602e
mov rdx, rcx
and rdx, 0xfffffffffffffffc
add rdx, 4
or rcx, 3
cmp rcx, 0xb
cmove rcx, rdx
mov rdx, rcx
test r8b, r8b
js 0x1400860ef
cmp rdx, r9
je 0x140086047
mov rcx, rsi
call fcn.1400450a0
mov al, byte [rsi + 0x17]
mov rdx, rsi
test al, al
jns 0x140086072
mov rax, qword [rsi + 0x10]
mov rcx, rax
btr rcx, 0x3f
cmp rcx, 1
je 0x140086107
shr rax, 0x38
mov rdx, rsi
test al, al
jns 0x140086072
mov rdx, qword [rsi]
mov word [rdx], 0x2e
cmp byte [rsi + 0x17], 0
jns 0x1400860e9
mov qword [rsi + 8], 1
mov word [rdx + 2], 0
mov r8d, dword [rsp + 0x3c]
dec r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14004d350
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
shr rax, 0x38
cmp rdx, rcx
jae 0x140086047
mov rdx, qword [rsi + 8]
jmp 0x140085ffc
call fcn.140213b20
jmp 0x1400860a0
mov byte [rsi + 0x17], 1
jmp 0x140086085
mov rax, qword [rsi + 0x10]
mov r9, rax
btr r9, 0x3f
dec r9
shr rax, 0x38
jmp 0x140086037
mov r9, qword [rsi + 8]
mov r8d, 2
sub r8, rcx
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rdi
mov rcx, rsi
xor edx, edx
call fcn.14011f570
mov qword [rsi + 8], rdi
mov al, byte [rsi + 0x17]
jmp 0x140086068
Function at 0x14008cf00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp edx, 0x921
jle 0x14008cf4a
cmp ebx, 0x922
je 0x14008cf6c
cmp ebx, 0xdf0
jne 0x14008cf87
lea rdi, [0x140318730]
jmp 0x14008cf73
cmp ebx, 0x692
je 0x14008cf63
cmp ebx, 0x7da
jne 0x14008cf87
lea rdi, [0x140318710]
jmp 0x14008cf73
lea rdi, [0x140318700]
jmp 0x14008cf73
lea rdi, [0x140318720]
call fcn.140080630
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov ebx, dword [rdi + rax*4]
mov dword [rsp + 0x3c], ebx
mov rcx, qword [0x140394fd0]
test rcx, rcx
je 0x14008d042
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x1403b5008]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x3c]
call fcn.14011ed90
lea rcx, [rsp + 0x30]
call fcn.14011ed90
lea rcx, [rsp + 0x2c]
call fcn.14011ed90
xorps xmm6, xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
cmp byte [rdi + 0x2f], 0
js 0x14008d00b
add rdi, 0x18
jmp 0x14008d00f
mov rdi, qword [rdi + 0x18]
lea rbx, [rsp + 0x40]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.140140630
mov rcx, rbx
call fcn.14011ed90
call fcn.140213b20
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x14008cfae
call fcn.1402195b0
mov rdi, rax
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
movsxd r12, ebx
mov rcx, r12
sar rcx, 0x3f
add r12, rax
adc rcx, 0
mov eax, ecx
and eax, 1
neg rax
xor rcx, rax
jne 0x14008d15b
test rax, rax
js 0x14008d15b
mov rax, r12
shr rax, 0x20
jne 0x14008d15b
mov dword [rsp + 0x2c], r12d
mov r14, qword [0x14038bfc8]
mov eax, r12d
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14008cfd4
mov r15, rax
mov rcx, r14
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14008cfd4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14008cfd4
mov rbx, rax
mov rcx, r14
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and r12d, 0xf
je 0x14008d129
test eax, eax
je 0x14008d129
mov ecx, eax
mov rax, rbx
add rax, rcx
dec r12d
movzx ecx, word [rbx]
lea rbx, [rbx + rcx*2]
add rbx, 2
cmp rbx, rax
setb cl
add r12d, 0xffffffff
jae 0x14008d129
cmp rbx, rax
jb 0x14008d10d
test cl, cl
je 0x14008cfd4
movzx r8d, word [rbx]
test r8, r8
je 0x14008cfd4
test rbx, rbx
je 0x14008cfd4
add rbx, 2
mov rcx, rsi
mov rdx, rbx
call fcn.1401df7d0
jmp 0x14008cfae
int3
Function at 0x1400a5a40
Capabilities:
Initialize winhttp library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 0x10000000
mov rcx, rdx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
lea rax, [0x1403024d8]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x1400a5bb8
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.14019acc0
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 0x1400a5bb8
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.14019acc0
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 0x1400a5bb8
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.140198b70
mov rax, rsi
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400a6b90
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rcx], 0
mov qword [rcx + 8], 0
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x28
mov r8, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400a6c91
mov r15, qword [rsp + 0x40]
cmp qword [rsi + 8], r15
je 0x1400a6c2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400a6cd2
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400a6c23
mov qword [rsi + 8], r15
call fcn.140147ce0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rsp + 0x38]
mov qword [r8], r14
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400a6cad
lea r8, [rsp + 0x48]
mov dword [r8], 1
mov rax, qword [rsp + 0x38]
mov qword [r8 + 4], rax
mov dword [r8 + 0xc], 2
lea rax, [rsp + 0x34]
mov dword [rax], 0xaaaaaaaa
lea rdx, [rsi + 0x10]
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
xor edx, edx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400a6cad
mov byte [rsi], 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x1400a6c91
call fcn.140147ce0
mov rcx, qword [rsi + 8]
call fcn.1401331f0
mov qword [rsi + 8], 0
jmp 0x1400a6c91
call fcn.140147ce0
mov rcx, qword [rsi + 8]
call fcn.1401331f0
mov qword [rsi + 8], 0
jmp 0x1400a6c10
Function at 0x1400a9930
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 [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1400a9991
test r12, r12
je 0x1400a9aa8
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140198b70
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 0x1400a99f6
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 0x1400a99df
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14019a610
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 0x1400a995e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x1400a9ad4
lea rcx, [r15*8]
call fcn.140197388
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 0x1400a9a73
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1400a9aa8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1400a9a5b
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.140251510
mov r12, qword [rsi + 0x10]
jmp 0x1400a995e
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.1401df1c0
call fcn.1401d1310
int3
Function at 0x1400ac470
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x70]
mov qword [r9], 0
lea rcx, [0x1402f2148]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400ac559
mov rdx, qword [rsp + 0x70]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1401d11a0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400ac4d0
and eax, 0x7f
jmp 0x1400ac4da
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
test rax, rax
js 0x1400ac565
test rdi, rdi
jne 0x1400ac4f7
test rax, rax
jne 0x1400ac591
lea rdi, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1401487b0
mov rcx, rsi
mov rdx, rdi
call fcn.140148980
mov rcx, rdi
call fcn.140148900
cmp byte [rsp + 0x47], 0
jns 0x1400ac52d
mov rcx, qword [rsp + 0x30]
call fcn.1401973c4
mov bl, 1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ac53f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140198b70
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call fcn.1402521f0
mov ebx, eax
jmp 0x1400ac52f
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401df1c0
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401df1c0
int3
Function at 0x1400ac670
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ac698
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400ac6d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400ac6f3
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140198b70
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.1400ac7d0
mov sil, 1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140147580
test al, al
jne 0x1400ac705
xor esi, esi
jmp 0x1400ac6d6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x265
mov r9d, 2
call fcn.140211090
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401d1390
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400ac755
and r8d, 0x7f
jmp 0x1400ac75c
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14011fcf0
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.14013e770
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400ac78c
and r8d, 0x7f
jmp 0x1400ac796
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1401d1390
cmp byte [rsp + 0x57], 0
jns 0x1400ac7b2
mov rcx, qword [rsp + 0x40]
call fcn.1401973c4
lea rcx, [rsp + 0x58]
call fcn.140211110
jmp 0x1400ac701

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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ac7f7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ac825
mov dil, 1
test al, 0x10
je 0x1400ac837
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140198b70
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140147580
test al, al
jne 0x1400ac8a6
xor edi, edi
jmp 0x1400ac809
mov ecx, 2
call fcn.140147580
test al, al
je 0x1400ac833
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.140077790
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401d1390
mov rcx, rax
mov rdx, rsi
call fcn.140211ec0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1401d1390
mov rcx, rdi
call fcn.140077de0
jmp 0x1400ac833
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.140211090
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401d1390
mov rcx, rax
mov rdx, rsi
call fcn.140211ec0
mov rcx, rdi
call fcn.140211110
jmp 0x1400ac833
Function at 0x1400add40
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400ac990
mov rax, qword [rsi]
test rax, rax
je 0x1400addb7
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400addbe
lea rcx, [rsp + 0x28]
call fcn.1400ad410
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400add90
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400addd6
add rbx, 0x70
cmp rbx, r15
je 0x1400add90
jmp 0x1400addc5
cmp byte [rbx + 0x27], 0
jns 0x1400adde2
mov rcx, qword [rbx + 0x10]
jmp 0x1400adde6
lea rcx, [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400addcb
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x1400ade0c
mov rcx, r14
mov rdx, rbx
call fcn.1400aec60
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400addcb
mov rcx, rdi
mov rdx, rbx
call fcn.1400aea90
mov r14, rax
jmp 0x1400ade06

Function at 0x1400ade20
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400ac990
mov rax, qword [rsi]
test rax, rax
je 0x1400ade97
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400ade9e
lea rcx, [rsp + 0x28]
call fcn.1400ad410
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140198b70
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400ade70
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400adedf
cmp byte [rbx + 0x27], 0
js 0x1400adeb7
lea rcx, [rbx + 0x10]
jmp 0x1400adebb
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400adedf
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x1400adeea
mov rcx, r14
mov rdx, rbx
call fcn.1400aec60
add r14, 0x68
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r15
je 0x1400ade70
jmp 0x1400adea5
mov rcx, rdi
mov rdx, rbx
call fcn.1400aea90
mov r14, rax
jmp 0x1400adedb
Function at 0x1400af4c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403971f8]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400af520
lea rsi, [0x1403971f0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140198b70
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403971f8]
call fcn.1401974e0
cmp dword [0x1403971f8], 0xffffffff
jne 0x1400af4fc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14019acc0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140197388
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140397240]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400af5e0
lea r8, [0x140397210]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400af6e0
mov qword [0x1403971f0], rsi
lea rcx, [0x1403971f8]
call fcn.140197578
jmp 0x1400af4fc
lea rcx, [0x140397240]
call fcn.1401974e0
cmp dword [0x140397240], 0xffffffff
jne 0x1400af5b1
xorps xmm0, xmm0
movups xmmword [0x140397230], xmm0
movups xmmword [0x140397220], xmm0
movups xmmword [0x140397210], xmm0
lea rcx, [0x140397210]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140397240]
call fcn.140197578
jmp 0x1400af5b1

Function at 0x1400af630
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140397240]
mov ecx, dword [0x14038bf28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400af66b
movzx eax, word [0x140397210]
cmp eax, 9
jne 0x1400af6b3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140397240]
call fcn.1401974e0
cmp dword [0x140397240], 0xffffffff
jne 0x1400af655
xorps xmm0, xmm0
movups xmmword [0x140397230], xmm0
movups xmmword [0x140397220], xmm0
movups xmmword [0x140397210], xmm0
lea rcx, [0x140397210]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140397240]
call fcn.140197578
jmp 0x1400af655
test eax, eax
je 0x1400af666
cmp eax, 6
jne 0x1400af6c3
mov eax, 2
jmp 0x1400af666
cmp eax, 0xc
jne 0x1400af6cf
mov eax, 3
jmp 0x1400af666
mov eax, 4
jmp 0x1400af666