joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c513d6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.LOCALAPPDATA
push esi
call fcn.01c496fb
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c51410
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c51443
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [ebp - 0x14]
mov dword [esi + 8], edi
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
movzx eax, byte [esi + 0xb]
test al, al
js 0x1c5149a
mov ecx, esi
jmp 0x1c5149f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c514e0
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c45da0
cmp byte [ebp - 0x11], 0
jns 0x1c5146b
mov esi, dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c51505
movzx ecx, byte [ebp - 0x11]
test cl, cl
jns 0x1c51486
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jae 0x1c51505
lea ecx, [ebp - 0x1c]
push 0
push eax
call fcn.01c45da0
jmp 0x1c51414
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0xc]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1c514b3
mov ecx, esi
push 0x5c
call fcn.01c45a54
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c514c0
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov ecx, esi
push eax
push edi
call fcn.01c4577a
mov ecx, esi
push 0x5c
call fcn.01c45a54
mov ecx, esi
push str.User_Data
call fcn.01c45d7e
mov bl, 1
cmp byte [ebp - 0x11], 0
jns 0x1c514f1
push dword [ebp - 0x1c]
call fcn.01caae80
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c514e0
Function at 0x1c52c34
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [esp + 0x38], eax
cmp dword [0x1d0dc84], 0
jne 0x1c52e05
push 0x64
call fcn.01caae50
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c51542
mov dword [0x1d0dc84], esi
mov ecx, esi
call fcn.01c51642
test al, al
je 0x1c52e05
xor eax, eax
dec eax
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [esp + 0x20]
mov ecx, esi
push str.type
call fcn.01c2210a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [esp + 0x10]
mov ecx, edi
push eax
call fcn.01c2210a
push esi
push edi
push ebx
call fcn.01c49422
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c52cce
push dword [esp + 0x10]
call fcn.01caae80
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c52ce1
push dword [esp + 0x20]
call fcn.01caae80
add esp, 4
push 0x1cda25c
call fcn.01cc3044
add esp, 4
movzx ecx, byte [esp + 0x37]
test cl, cl
jns 0x1c52cfb
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x1c52d1a
lea ecx, [esp + 0x2c]
push eax
push 0x1cda25c
push 0xffffffffffffffff
push 0
call fcn.01c45cda
test eax, eax
je 0x1c52df2
push dword [0x1d0dc84]
call fcn.01c28a40
add esp, 4
mov ecx, dword [0x1d0dc84]
movzx eax, byte [ecx + 0x63]
test al, al
jns 0x1c52d39
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1c52d7e
push ebx
push esi
call fcn.01c495bd
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c52d54
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push ecx
call fcn.01c4c524
add esp, 8
cmp byte [esp + 0x2b], 0
jns 0x1c52df2
push dword [esp + 0x20]
call fcn.01caae80
add esp, 4
jmp 0x1c52df2
mov ecx, esi
call fcn.01c620b0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push ebx
mov ebx, eax
push eax
call fcn.01c495bd
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c52db0
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push edi
push ebx
push ecx
call fcn.01c4c79d
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x1c52dd6
push dword [esp + 4]
call fcn.01caae80
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x1c52de9
push dword [esp + 0x10]
call fcn.01caae80
add esp, 4
lea ecx, [esp + 0x20]
call fcn.01c62200
cmp byte [esp + 0x37], 0
jns 0x1c52e05
push dword [esp + 0x2c]
call fcn.01caae80
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01caaec1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c53c3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1c53d6e
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x1c53d6e
cmp word [eax + edx + 0x14], 0x68
jb 0x1c53d6e
mov eax, dword [eax + edx + 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov esi, ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x14], esi
mov ecx, esi
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x1c53d6e
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffff
jbe 0x1c53db0
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov edx, eax
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x1c53d6e
lea esi, [edx + eax*4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ebx, edx
mov dword [ebp - 0x10], esi
mov edi, esi
sub edi, ebx
mov eax, edi
sar eax, 2
shr edi, 0x1f
add edi, eax
and edi, 0xfffffffe
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx + edi*2]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x2c]
call ebx
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x1c53d42
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
cmp cl, byte [eax]
jne 0x1c53d4a
inc eax
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1c53d32
xor ecx, ecx
jmp 0x1c53d4a
xor ecx, ecx
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
lea edi, [ebx + edi*2]
movzx ecx, cl
movzx eax, byte [eax]
mov edx, ecx
sub edx, eax
test edx, edx
lea edx, [edi + 4]
cmovg ebx, edx
cmovle esi, edi
cmp ecx, eax
je 0x1c53d7a
xor eax, eax
cmp ebx, esi
jne 0x1c53cec
jmp 0x1c53d70
xor eax, eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x10]
call ebx
sub edi, dword [ebp - 0x24]
sar edi, 1
movzx eax, word [eax + edi]
mov ecx, dword [ebp - 0x18]
add ax, word [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov word [ebx], ax
mov al, 1
jmp 0x1c53d70
Function at 0x1c570a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x1d184b8]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x1c57224
jp 0x1c57224
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1d184c8]
mov ecx, dword [0x1d0dc5c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c57249
mov eax, dword [0x1d184d8]
mov ecx, dword [0x1d0dc5c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c57282
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea ebx, [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x1d184d0]
sbb edi, dword [0x1d184d4]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x1cd5550]
subpd xmm1, xmmword [0x1cd5560]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x1cdb240]
ucomisd xmm2, xmm0
ja 0x1c57224
mov eax, dword [esp + 8]
sub eax, dword [0x1d184c0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x1d184c4]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x1cd5550]
subpd xmm2, xmmword [0x1cd5560]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x1d184b8], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.01caaec1
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1d184c8
call fcn.01caaf07
add esp, 4
cmp dword [0x1d184c8], 0xffffffff
jne 0x1c57112
rdtsc
mov dword [0x1d184c0], eax
mov dword [0x1d184c4], edx
push 0x1d184c8
call fcn.01caaf7d
add esp, 4
jmp 0x1c57112
push 0x1d184d8
call fcn.01caaf07
add esp, 4
cmp dword [0x1d184d8], 0xffffffff
jne 0x1c57133
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x1d184d4], ecx
mov dword [0x1d184d0], eax
push 0x1d184d8
call fcn.01caaf7d
add esp, 4
jmp 0x1c57133
Function at 0x1c5d990
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x10], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], ebx
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x1c5d9fd
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x1c5d9d0
cmp edi, 1
jne 0x1c5da06
jmp 0x1c5da22
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x1c5da22
cmp edi, 2
je 0x1c5da19
cmp edi, 3
jne 0x1c5da2d
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
xor ecx, ecx
test edi, edi
je 0x1c5db98
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x1c5da98
mov eax, edx
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c5daa9
mov eax, edx
mov edx, ebx
cmp ebx, edi
jb 0x1c5daa9
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c5db96
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x18]
test dl, dl
mov ecx, dword [ebp - 0x10]
cmovns ecx, edx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x1c5db98
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x18], eax
jmp 0x1c5db08
and eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x1c5db96
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c5db96
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c5db60
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c5db1d
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c5dafe
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c5db78
cmp dword [ebp - 0x10], 0
je 0x1c5db92
cmp byte [esi], dl
jne 0x1c5dafe
dec eax
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1c5db92
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c5db40
jmp 0x1c5dafe
cmp dword [ebp - 0x24], 1
jbe 0x1c5daf0
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x1c5daf3
xor edx, edx
div ecx
mov eax, edx
jmp 0x1c5daf3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c5db92
push eax
push esi
push ecx
call fcn.01cad6bd
add esp, 0xc
test eax, eax
jne 0x1c5dafe
mov ecx, ebx
jmp 0x1c5db98
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c66ea0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c66ec2
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c66fa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c66efd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c66fbc
push 2
call fcn.01c64270
add esp, 4
test al, al
je 0x1c66fa3
call fcn.01c64b80
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x265
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c64d20
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.01c23dd0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c66f51
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c4af70
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c66f76
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01c23dd0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c66f98
push dword [ebp - 0xc4]
call fcn.01caae80
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01c64dd0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c66fbc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c66fde
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c670ad
mov bl, 1
test al, 0x10
jne 0x1c67155
push 2
call fcn.01c64270
add esp, 4
test al, al
je 0x1c67153
lea ecx, [ebp - 0xb8]
push 2
push 0x254
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c642e0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23dd0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c67046
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c4af70
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c6706b
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01c23dd0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.01c23dd0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c6709d
push dword [ebp - 0xc4]
call fcn.01caae80
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01c646c0
jmp 0x1c67153
push 2
call fcn.01c64270
add esp, 4
test al, al
je 0x1c67153
call fcn.01c64b80
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x250
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c64d20
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23dd0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c67101
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c4af70
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c67126
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01c23dd0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c67148
push dword [ebp - 0xc4]
call fcn.01caae80
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01c64dd0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c68638
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x20], xmm0
cmp esi, ebx
je 0x1c6868a
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
mov ecx, esi
push edi
call fcn.01c6a314
test al, al
jne 0x1c68677
add esi, 0x58
cmp esi, ebx
jne 0x1c68662
mov esi, ebx
mov eax, dword [ebp - 0x24]
cmp esi, dword [eax + 0x2c]
je 0x1c6868a
cmp byte [esi + 0x1b], 0
jns 0x1c6868f
mov eax, dword [esi + 0x10]
jmp 0x1c68692
xor edi, edi
inc edi
jmp 0x1c686b5
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
xor edi, edi
inc edi
cmp eax, 0xffffffff
cmovne edi, ecx
test edi, edi
jne 0x1c686b5
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x1c6980b
cmp byte [ecx + 0x1b], 0
jns 0x1c69819
mov ecx, dword [ecx + 0x10]
jmp 0x1c6981c
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2]
inc eax
jmp 0x1c69836
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
mov edx, eax
shr edx, 3
and edx, 2
xor eax, eax
inc eax
cmp ecx, 0xffffffff
cmovne eax, edx
pop ebp
ret
Function at 0x1c6aa20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.01c4af30
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c6aa4e
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
js 0x1c6aa6c
cmp dword [ebp + 8], 0
jne 0x1c6aa81
jmp 0x1c6ab1b
push dword [ebp - 0x1c]
call fcn.01caae80
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c6ab1b
test esi, esi
je 0x1c6ab1b
mov eax, esi
add eax, esi
mov ecx, 0xffffffff
cmovae ecx, eax
push ecx
call fcn.01caaeb3
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.01c4af30
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c6aabb
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c6aad5
push dword [ebp - 0x1c]
call fcn.01caae80
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x1c6ab34
push edi
call fcn.01cc3044
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c4af70
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1c6ab03
push dword [ebx]
call fcn.01caae80
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.01caaebc
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x1d7
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.01c56aa0
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.01c76110
cmp byte [edi + 0xb], 0
jns 0x1c6aba6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.01c76170
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c6abe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.01caf0d0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x1c6ac68
push ebx
call fcn.01cc3044
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.01c62140
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.01c631a0
mov ecx, dword [ebp + 8]
push ebx
call fcn.01c62280
mov ecx, ebx
call fcn.01c62200
mov ecx, edi
call fcn.01c62200
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01caaec1
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret