joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10079ca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x101bef38]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10079d04
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x10079cf9
mov ecx, dword [0x101bef30]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x101bef34]
mov edx, dword [0x101bef30]
mov dword [eax + edx*8 + 4], ecx
mov eax, esi
pop esi
pop ebp
ret 4
test esi, esi
je 0x10079cf2
call fcn.1007a6e0
jmp 0x10079cd9
push 0x101bef38
call fcn.10145c47
add esp, 4
cmp dword [0x101bef38], 0xffffffff
jne 0x10079cc8
mov dword [0x101bef34], 0
mov dword [0x101bef30], 0xffffffff
mov ecx, 0x101bef30
push 0
call fcn.1007a5a0
push 0x101bef38
call fcn.10145cbd
add esp, 4
jmp 0x10079cc8

Function at 0x10079d50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [0x101bef38]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10079dc5
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x10079da2
mov ecx, dword [0x101bef30]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x101bef34]
mov edx, dword [0x101bef30]
mov dword [eax + edx*8 + 4], ecx
mov esi, dword [esi]
test esi, esi
je 0x10079dc1
lock dec dword [esi + 4]
jne 0x10079dc1
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
pop esi
pop edi
pop ebp
ret
push 0x101bef38
call fcn.10145c47
add esp, 4
cmp dword [0x101bef38], 0xffffffff
jne 0x10079d74
mov dword [0x101bef34], 0
mov dword [0x101bef30], 0xffffffff
mov ecx, 0x101bef30
push 0
call fcn.1007a5a0
push 0x101bef38
call fcn.10145cbd
add esp, 4
jmp 0x10079d74
Function at 0x1007a3e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.10146cc0
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x101bac5c]
cmp eax, 0xffffffff
je 0x1007a538
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1007a538
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.10148eb0
add esp, 0xc
mov ecx, dword [0x101bac5c]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x1007a459
push ebx
call fcn.10145c0c
add esp, 4
mov eax, dword [0x101bfb44]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1007a559
mov esi, dword [0x101bfb40]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1007a54d
lea eax, [ebp - 0x1410]
push 0xc00
push 0x101bef40
push eax
call fcn.10148eb0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
jmp 0x1007a4c9
mov ecx, dword [ebp - 0x1418]
dec ecx
je 0x1007a52a
test al, 1
je 0x1007a52a
mov dword [ebp - 0x1418], ecx
xor edi, edi
lea ebx, [ebp - 0x1408]
xor eax, eax
jmp 0x1007a4ec
inc edi
add ebx, 0xc
cmp edi, 0x100
je 0x1007a4c0
mov esi, dword [ebp + edi*8 - 0x810]
test esi, esi
je 0x1007a4e0
cmp dword [ebx - 8], 0
je 0x1007a4e0
mov ecx, dword [ebp + edi*8 - 0x80c]
cmp ecx, dword [ebx]
jne 0x1007a4e0
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x1007a4e0
mov dword [ebp + edi*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x1007a4e0
push 2
push dword [ebp - 0x1414]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.10083990
jmp 0x1007a48f
push 0x101bfb44
call fcn.10145c47
add esp, 4
cmp dword [0x101bfb44], 0xffffffff
jne 0x1007a47a
push 4
call fcn.10145ba4
add esp, 4
mov dword [eax], 0
mov dword [0x101bfb40], eax
push 0x101bfb44
call fcn.10145cbd
add esp, 4
jmp 0x1007a47a
Function at 0x1007a5a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x101bac5c]
cmp eax, 0xffffffff
je 0x1007a5bd
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1007a5c2
call fcn.1007a6e0
mov eax, dword [0x101bfb44]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1007a68f
mov edi, dword [0x101bfb40]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1007a683
mov ecx, dword [0x101bef3c]
inc ecx
mov edx, 0x100
nop word cs:[eax + eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x101bef40], 0
je 0x1007a63d
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x101bef40], 0
je 0x1007a63d
add ecx, 2
add edx, 0xfffffffe
jne 0x1007a610
jmp 0x1007a66d
lea ecx, [eax*4 + 0x101bef40]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x101bef44], ecx
mov dword [0x101bef3c], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x101bef48]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x1007a6d0
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.10083990
jmp 0x1007a5f8
push 0x101bfb44
call fcn.10145c47
add esp, 4
cmp dword [0x101bfb44], 0xffffffff
jne 0x1007a5e3
push 4
call fcn.10145ba4
add esp, 4
mov dword [eax], 0
mov dword [0x101bfb40], eax
push 0x101bfb44
call fcn.10145cbd
add esp, 4
jmp 0x1007a5e3
int3

Function at 0x1007a6e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x804
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x101bac5c]
cmp esi, 0xffffffff
jne 0x1007a72e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1007a7a2
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x101bac5c], esi
je 0x1007a72e
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [0x101bac5c]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1007a79f
lea ebx, [ebp - 0x810]
push 0x800
push 0
push ebx
call fcn.10149430
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x800
call fcn.10145c03
add esp, 4
mov edi, eax
push 0x800
push ebx
push eax
call fcn.10148eb0
add esp, 0xc
mov eax, edi
or eax, 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
add esp, 0x804
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x1007d1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
test ebx, ebx
je 0x1007d328
push 0x10
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1007d328
mov edi, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1007d328
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1007d328
mov edi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0x101a0dc2
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1007d328
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1007d328
push 0x1c
call fcn.10145ba4
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
movzx ecx, word [ebx]
movzx ebx, word [ebx + 2]
mov dword [esi], 0x1019b660
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jae 0x1007d2b9
push edi
mov word [ebp - 0x1a], cx
call fcn.10069180
movzx ecx, word [ebp - 0x1a]
add esp, 4
jmp 0x1007d2c5
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [esi + 0x10], edi
mov word [esi + 0x14], cx
mov word [esi + 0x16], bx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x101a0df4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1007d341
mov edi, dword [ebp - 0x14]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
jae 0x1007d319
push edi
call fcn.10069180
add esp, 4
jmp 0x1007d325
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [esi + 0x18], edi
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x1007e430
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcef0
test byte [0x101bacd0], 0x19
jne 0x1007e4d5
cmp byte [esi + 0xb], 0
jns 0x1007e49f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
test byte [0x101bacd0], 0x19
jne 0x1007e510
cmp esi, 0xffffffff
setne bl
lea ecx, [esp + 0x20]
call fcn.100bd420
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007e49d
jmp 0x1007e49f
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007e4b1

Function at 0x1007e560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x1007e661
push ebx
call fcn.10163aa4
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.10060680
mov dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x220], 0xffffffff
movzx eax, byte [ebp - 0x229]
test al, al
jns 0x1007e5fc
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
lea ebx, [ebp - 0x228]
mov ecx, ebx
push eax
push edi
call fcn.10060680
mov ecx, ebx
call fcn.10061ca0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x1007e625
push dword [edi]
call fcn.10145bd4
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [edi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
jns 0x1007e661
push dword [ebp - 0x234]
call fcn.10145bd4
add esp, 4
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1007e690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x214], eax
lea edi, [esp + 0xc]
push 0x208
push 0xff
push edi
call fcn.10149430
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x101a0e10]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1007e6fb
cmp word [esp + 0xc], 0
je 0x1007e6fb
push edi
call fcn.10163aa4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.10060680
jmp 0x1007e753
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov eax, esp
push eax
call fcn.1007e560
add esp, 4
test al, al
je 0x1007e733
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [esp]
movsd qword [esi], xmm0
jmp 0x1007e753
mov ecx, esi
push 3
push 0x101a0e90
call fcn.10060680
cmp byte [esp + 0xb], 0
jns 0x1007e753
push dword [esp]
call fcn.10145bd4
add esp, 4
mov ecx, dword [esp + 0x214]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x1007f1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x38a
push str....._base_files_file_util_win.cc
push 0x101a0ee7
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcef0
test byte [0x101bacd0], 0x19
jne 0x1007f323
cmp byte [esi + 0xb], 0
jns 0x1007f253
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x101a0e20]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, 0xffffffff
test eax, eax
je 0x1007f29a
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, 0xffffffff
je 0x1007f29e
call fcn.10065990
jmp 0x1007f2a0
xor edi, edi
jmp 0x1007f2e6
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x1007f2e6
lea eax, [edi + 1]
cmp eax, 2
jb 0x1007f2e6
mov eax, dword [ebp + 0xc]
mov dword [esp], 0xffffffff
push 0
lea ecx, [esp + 4]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp]
cmp ecx, ebx
mov edx, 0xffffffff
cmove edx, ecx
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, edx
lea eax, [edi + 1]
cmp eax, 2
jb 0x1007f2fc
call fcn.10065990
push edi
call fcn.100849b0
add esp, 4
test byte [0x101bacd0], 0x19
jne 0x1007f365
lea ecx, [esp + 0x20]
call fcn.100bd420
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007f251
jmp 0x1007f253
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f305
Function at 0x1007f3b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x278], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x260], xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
lea ebx, [esp + 0x28]
push 0x3c3
push str....._base_files_file_util_win.cc
push 0x101a0ef1
push ebx
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x230]
push 0
push 0
push ebx
call fcn.100bcef0
test byte [0x101bacd0], 0x19
jne 0x1007f539
lea eax, [esp + 0x2a]
push 0x206
push 0xff
push eax
call fcn.10149430
add esp, 0xc
mov word [esp + 0x28], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x1007f503
push ebx
call fcn.10163aa4
add esp, 4
lea edi, [esp + 0xc]
mov ecx, edi
push eax
push ebx
call fcn.10060680
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
movzx eax, byte [esp + 0x17]
test al, al
jns 0x1007f4ac
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ebx, [esp + 0x18]
mov ecx, ebx
push eax
push edi
call fcn.10060680
mov ecx, ebx
call fcn.10061ca0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x1007f4d3
push dword [edi]
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x18]
movq qword [edi], xmm0
mov byte [esp + 0x23], 0
mov word [esp + 0x18], 0
cmp byte [esp + 0x17], 0
jns 0x1007f503
push dword [esp + 0xc]
call fcn.10145bd4
add esp, 4
test byte [0x101bacd0], 0x19
jne 0x1007f571
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x230]
call fcn.100bd420
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x14]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
jmp 0x1007f42f
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f50c
Function at 0x1007f5c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x3d3
push str....._base_files_file_util_win.cc
push 0x101a0f06
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcef0
test byte [0x101bacd0], 0x19
jne 0x1007f664
cmp byte [esi + 0xb], 0
jns 0x1007f62f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
test byte [0x101bacd0], 0x19
jne 0x1007f69f
test esi, esi
setne bl
lea ecx, [esp + 0x20]
call fcn.100bd420
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007f62d
jmp 0x1007f62f
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f641
Function at 0x1007f880
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2b8
mov ebx, edx
mov edi, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
push 0
push 0
mov dword [ebp - 0x2c4], ebx
push ebx
push 3
push 0
push edi
call fcn.1009c2e0
mov dword [ebp - 0x2b0], 0xffffffff
mov dword [ebp - 0x2ac], 0xffffffff
mov dword [ebp - 0x2a8], 0xffffffff
lea eax, [ebp - 0x2b0]
mov ecx, esi
push eax
call fcn.1009c5b0
movzx eax, byte [ebp - 0x2a5]
mov ecx, eax
test al, al
jns 0x1007f909
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x1007fa76
movzx ecx, byte [ebp + 8]
xor cl, 1
mov byte [ebp - 0x2bd], cl
xor edi, edi
jmp 0x1007f93a
mov edi, esi
test ecx, ecx
je 0x1007fa78
cmp byte [ebp - 0x2a4], 0
je 0x1007f98d
mov ebx, dword [ebp - 0x2a0]
test bl, 1
je 0x1007f981
mov ecx, ebx
and ecx, 0x10
shr ecx, 4
xor esi, esi
test byte [ebp - 0x2bd], cl
jne 0x1007fa10
mov ecx, ebx
and ecx, 0xfffffffe
lea edx, [ebp - 0x2b0]
test al, al
jns 0x1007f979
mov edx, dword [ebp - 0x2b0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
jne 0x1007f9c0
movzx eax, byte [ebp - 0x2a5]
lea ecx, [ebp - 0x2b0]
test al, al
jns 0x1007f99d
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x1007fa10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x1007fa10
mov esi, eax
jmp 0x1007fa10
xor esi, esi
cmp byte [ebp + 8], 0
je 0x1007fa10
lea ecx, [ebp - 0x2b0]
mov edx, dword [ebp - 0x2c4]
push 1
call fcn.1007f880
add esp, 4
mov esi, eax
test eax, eax
jne 0x1007fa10
cmp byte [ebp - 0x2a5], 0
lea eax, [ebp - 0x2b0]
jns 0x1007f9f9
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
je 0x1007f9aa
nop dword [eax]
test edi, edi
cmovne esi, edi
lea ecx, [ebp - 0x2a4]
lea eax, [ebp - 0x2bc]
push eax
call fcn.1009c5b0
cmp byte [ebp - 0x2a5], 0
jns 0x1007fa3e
push dword [ebp - 0x2b0]
call fcn.10145bd4
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a8], eax
movsd xmm0, qword [ebp - 0x2bc]
movsd qword [ebp - 0x2b0], xmm0
movzx eax, byte [ebp - 0x2a5]
mov ecx, eax
test al, al
jns 0x1007f930
mov ecx, dword [ebp - 0x2ac]
jmp 0x1007f930
xor esi, esi
test al, al
jns 0x1007fa8a
push dword [ebp - 0x2b0]
call fcn.10145bd4
add esp, 4
lea ecx, [ebp - 0x2a4]
call fcn.1009c530
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
add esp, 0x2b8
pop esi
pop edi
pop ebx
pop ebp
ret