joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a5b0
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 [0x14036c038]
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.140064680
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14007a734
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140308558]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14007a76b
lea rdx, [0x1403085a8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007a759
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1403a9008]
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 0x14007a761
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x14007a7aa
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14018dfc4
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x14007a77e
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1401c9720
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14007a6bc
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14007a0b0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14007a70a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
jne 0x14007a71e
jmp 0x14007a734
mov rcx, qword [r15 - 0x18]
call fcn.14018e000
add r15, 0xffffffffffffffe8
cmp r15, rbx
je 0x14007a72c
cmp byte [r15 - 1], 0
jns 0x14007a71a
jmp 0x14007a711
mov rcx, rbx
call fcn.14018e000
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14018f840
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 0x14007a664
xor r15d, r15d
xor ebx, ebx
jmp 0x14007a6e3
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14007a661
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401cd590
lea rcx, [rsp + 0x30]
call fcn.1401c98a0
int3
Function at 0x1400838d0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140083b1a
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x14036f980], rax
jne 0x140083b1d
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x140309590]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x1403095e0]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x140308d70]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140083a9f
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x140083aac
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140083a98
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x140083b20
mov edx, ecx
and edx, 0x1fc000
je 0x140083b20
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.1401449e0
mov ecx, dword [0x140383684]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x14037df2c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x178], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14018f840
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x1400839f9
mov rcx, rbx
call fcn.1401455d0
jmp 0x1400839a9
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.14015eed0
test rax, rax
je 0x140083b13
mov rdi, rax
mov rcx, rax
and rcx, 0xffffffffffe00000
mov rdx, rax
shr rdx, 9
and edx, 0xfe0
lea rax, [rdx + rcx]
movzx ecx, byte [rdx + rcx + 0x101e]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
add rax, 0x1000
jmp 0x140083a13
xor edi, edi
jmp 0x140083a3d
int3
int3
movaps xmm0, xmmword [0x1402fa4a0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.140202fd0
mov rcx, rsi
call fcn.140024d50
mov rcx, r14
call fcn.140203040
int3
Function at 0x140084fd0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea rdi, [rsp + 0x30]
mov r8d, 0x200
mov rcx, rdi
mov dl, 0xaa
call fcn.140191990
lea rbx, [rsp + 0x2c]
mov dword [rbx], 0x100
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
setne al
mov edx, dword [rbx]
test rdx, rdx
setne bl
and bl, al
je 0x1400850d7
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140085094
cmp edx, 0xb
jb 0x140085050
cmp rax, rdx
cmova rdx, rax
or rdx, 7
mov rcx, rsi
call fcn.14004af10
mov edx, 1
mov rcx, rsi
mov r8w, 0x2e
call fcn.14004b660
mov r8d, dword [rsp + 0x2c]
dec r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004b140
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0x7fffffffffffffff
and rax, qword [rsi + 0x10]
dec rax
cmp rax, rdx
jae 0x140085050
mov rcx, qword [rsi + 8]
cmp rcx, rdx
cmova rdx, rcx
mov rcx, rdx
or rcx, 7
cmp rdx, 0xb
mov edx, 0xa
cmovae rdx, rcx
cmp rdx, rax
jne 0x140085048
jmp 0x140085050
call fcn.140201db0
jmp 0x140085077
Function at 0x14008b2f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8d, edx
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp edx, 0x921
jle 0x14008b333
cmp r8d, 0x922
je 0x14008b34e
cmp r8d, 0xdf0
jne 0x14008b373
lea rdi, [0x14030a170]
jmp 0x14008b35e
cmp r8d, 0x692
je 0x14008b357
cmp r8d, 0x7da
jne 0x14008b373
lea rdi, [0x14030a150]
jmp 0x14008b35e
lea rdi, [0x14030a160]
jmp 0x14008b35e
lea rdi, [0x14030a140]
call fcn.14007e7d0
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov r8d, dword [rdi + rax*4]
mov rcx, qword [0x140383830]
test rcx, rcx
je 0x14008b3b2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
call qword [0x1403a9008]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140201db0
jmp 0x14008b38f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
movsxd r15, r8d
call fcn.140207680
add r15, qword [rax + 0x30]
mov rax, r15
shr rax, 0x20
jne 0x14008b4b9
mov rbx, qword [0x14037df78]
mov eax, r15d
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14008b3ab
mov r14, rax
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14008b3ab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14008b3ab
mov rdi, rax
mov rcx, rbx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and r15d, 0xf
je 0x14008b466
test eax, eax
je 0x14008b466
mov ecx, eax
mov rax, rdi
add rax, rcx
dec r15d
movzx ecx, word [rdi]
lea rdi, [rdi + rcx*2]
add rdi, 2
cmp rdi, rax
setb cl
add r15d, 0xffffffff
jae 0x14008b466
cmp rdi, rax
jb 0x14008b44a
test cl, cl
je 0x14008b3ab
movzx r8d, word [rdi]
test r8, r8
je 0x14008b3ab
test rdi, rdi
je 0x14008b3ab
add rdi, 2
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400386e0
cmp byte [rsi + 0x17], 0
jns 0x14008b4a3
mov rcx, qword [rsi]
call fcn.14018e000
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
jmp 0x14008b38f
int3
Function at 0x140091350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14009136a
test r8d, r8d
jne 0x140091363
call fcn.1400d5fe0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1401486b0

Function at 0x1400a3a00
Capabilities:
Initialize winhttp library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x14036c038]
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, [0x1402f59f8]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x1400a3b78
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.140191990
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 0x1400a3b78
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.140191990
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 0x1400a3b78
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.14018f840
mov rax, rsi
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400a5320
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
shl ebp, 0x17
or ebp, 0x100
lea rax, [rcx + 0xf8]
movzx ecx, byte [rcx + 0x10f]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
cmovs rax, qword [rdi + 0xf8]
mov rsi, rdx
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs r8, qword [rdi + 0x100]
mov qword [rdx + 8], r8
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400d6320
cmp byte [rbx + 0x17], 0
jns 0x1400a5398
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, [0x1402f59f8]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x1400a53de
mov rcx, qword [rsp + 0x48]
call fcn.14018e000
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400a5f90
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
jbe 0x1400a5fcc
cmp rax, 0x4000
je 0x1400a5fee
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x1400a5ff3
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.140123130
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x1400a6019
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400a600f
xor eax, eax
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp fcn.1400d6680
lea rax, str.front___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x237
call fcn.1401cd590
int3
Function at 0x1400a7350
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400a7445
cmp qword [rsi], 0
jne 0x1400a7445
cmp dword [rsi + 0x14], 0
jne 0x1400a7445
cmp qword [rsi + 8], 0
jne 0x1400a7445
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400a73c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a742c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a73bc
mov qword [rsi], r14
call fcn.14013d7b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400a73fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400a7414
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a73f6
mov qword [rsi + 8], r14
call fcn.14013d7b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14013d7b0
mov rcx, qword [rsi + 8]
call fcn.14012a160
mov qword [rsi + 8], 0
jmp 0x1400a73e3
call fcn.14013d7b0
mov rcx, qword [rsi]
call fcn.14012a160
mov qword [rsi], 0
jmp 0x1400a73aa
mov rcx, rsi
call fcn.14023d800
mov rax, qword [rsi]
jmp 0x1400a738a
Function at 0x1400aba10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x60]
mov qword [r9], 0
lea rcx, [0x1402e2148]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400abadc
mov rdx, qword [rsp + 0x60]
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401c9720
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.14013e130
mov rcx, rsi
mov rdx, rbx
call fcn.14013e300
mov rcx, rbx
call fcn.14013e2f0
cmp byte [rdi + 0x17], 0
jns 0x1400abab3
mov rcx, qword [rsp + 0x20]
call fcn.14018e000
mov bl, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400abac5
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call fcn.14023f920
mov ebx, eax
jmp 0x1400abab5

Function at 0x1400abba0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400abbc7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400abc01
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400abc20
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14018f840
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400abcf0
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14013d6b0
test al, al
jne 0x1400abc32
xor esi, esi
jmp 0x1400abc04
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x266
mov r9d, 2
call fcn.1401ff380
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401c9900
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1401340e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400abcb2
and r8d, 0x7f
jmp 0x1400abcbc
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c9900
cmp byte [rsp + 0x4f], 0
jns 0x1400abcd8
mov rcx, qword [rsp + 0x38]
call fcn.14018e000
lea rcx, [rsp + 0x50]
call fcn.1401ff400
jmp 0x1400abc2e
Function at 0x1400abcf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x1400abd17
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400abd45
mov dil, 1
test al, 0x10
je 0x1400abd5b
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14013d6b0
test al, al
jne 0x1400abe2a
xor edi, edi
jmp 0x1400abd29
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x1400abd57
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x255
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401c9900
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1401340e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400abde0
and r8d, 0x7f
jmp 0x1400abdea
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c9900
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1401c9900
cmp byte [rsp + 0x5f], 0
jns 0x1400abe1b
mov rcx, qword [rsp + 0x48]
call fcn.14018e000
lea rcx, [rsp + 0x60]
call fcn.140076a20
jmp 0x1400abd57
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x251
mov r9d, 2
call fcn.1401ff380
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401c9900
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1401340e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400abeaa
and r8d, 0x7f
jmp 0x1400abeb4
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c9900
cmp byte [rsp + 0x5f], 0
jns 0x1400abed0
mov rcx, qword [rsp + 0x48]
call fcn.14018e000
lea rcx, [rsp + 0x60]
call fcn.1401ff400
jmp 0x1400abd57
Function at 0x1400ad3e0
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400abf70
mov rax, qword [rsi]
test rax, rax
je 0x1400ad457
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400ad45e
lea rcx, [rsp + 0x28]
call fcn.1400acae0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400ad430
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400ad476
add rbx, 0x70
cmp rbx, r15
je 0x1400ad430
jmp 0x1400ad465
cmp byte [rbx + 0x27], 0
js 0x1400ad482
lea rcx, [rbx + 0x10]
jmp 0x1400ad486
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400ad46b
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
je 0x1400ad4ac
mov rcx, r14
mov rdx, rbx
call fcn.1400ae2d0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400ad46b
mov rcx, rdi
mov rdx, rbx
call fcn.1400ae100
jmp 0x1400ad46b

Function at 0x1400ad4c0
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400abf70
mov rax, qword [rsi]
test rax, rax
je 0x1400ad537
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x1400ad53e
lea rcx, [rsp + 0x28]
call fcn.1400acae0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400ad510
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400ad57f
cmp byte [rbx + 0x27], 0
js 0x1400ad557
lea rcx, [rbx + 0x10]
jmp 0x1400ad55b
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400ad57f
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
je 0x1400ad58a
mov rcx, r14
mov rdx, rbx
call fcn.1400ae2d0
add r14, 0x68
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r15
je 0x1400ad510
jmp 0x1400ad545
mov rcx, rdi
mov rdx, rbx
call fcn.1400ae100
jmp 0x1400ad57f