joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101f3730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x101f3752
cmp dword [esi], edi
jne 0x101f375b
jmp 0x101f3775
call fcn.10221d90
cmp dword [esi], edi
je 0x101f3775
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x101f37ac
cmp ebx, 2
jae 0x101f37cc
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x101f37a0
call fcn.10221d90
push dword [edi]
call fcn.101ee6e0
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x101f376e
mov dword [esi], edi
mov edi, eax
call fcn.10221d90
mov eax, edi
jmp 0x101f376e

Function at 0x101f39a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x101f39c6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x101f39c8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x101f39ea
mov bl, 1
cmp byte [ebp + 0xc], 0
je 0x101f3a48
cmp byte [esi + 4], 0
je 0x101f3a29
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x101f3a2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x101f39fe
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x101f3a00
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x101f3a14
xor ebx, ebx
jmp 0x101f3a48
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x101f3a39
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x101f3a3b
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x101f3a48
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x101f3d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [0x103c2010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov edi, 0
test eax, eax
je 0x101f3d94
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
test eax, eax
jne 0x101f3d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0
cmp eax, 6
je 0x101f3e70
lea eax, [ebp - 0x238]
push 0x228
push 0xff
push eax
call fcn.102f7d80
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test eax, eax
je 0x101f3e25
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x240], 0
mov esi, 0
cmp ebx, 0xffffffff
je 0x101f3deb
mov esi, eax
call fcn.10221d90
mov eax, esi
mov esi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi + 1]
cmp eax, 2
jb 0x101f3e31
lea ebx, [ebp - 0x23c]
push ebx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x101f3e31
nop dword [eax + eax]
cmp dword [ebp - 0x234], edi
je 0x101f3e62
push ebx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x101f3e10
jmp 0x101f3e31
mov dword [ebp - 0x240], 0
xor esi, esi
lea eax, [esi + 1]
cmp eax, 2
jb 0x101f3e47
call fcn.10221d90
push esi
call fcn.101ee6e0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, dword [ebp - 0x240]
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], eax
jmp 0x101f3e31
int3
Function at 0x101f7070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.1026b1c0
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0x10350ec0
mov dword [esi + 0xc], 0
movaps xmm0, xmmword [0x10364ec0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x101f70f7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 2
jb 0x101f70db
call fcn.10221d90
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.101ee6e0
mov dword [esi + 0xc], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x101f70eb
mov dword [esi + 0xc], edi
call fcn.10221d90
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x101f8f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
lea ebx, [eax + 1]
cmp ebx, 2
jae 0x101f8f84
xor ebx, ebx
jmp 0x101f9049
mov esi, ecx
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 4], 1
jne 0x101f905d
mov dword [esi], 0
call fcn.10221d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 0
push 0
push 5
push ecx
push eax
mov edi, dword [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne al
mov dword [ebp - 0x18], eax
je 0x101f9033
mov edi, dword [ebp - 0x14]
cmp dword [esi], edi
je 0x101f9029
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jb 0x101f900f
mov dword [ebp - 0x20], eax
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [esi], 0
lea ecx, [edi + 1]
cmp ecx, 2
jb 0x101f9022
mov dword [esi], edi
mov edi, eax
call fcn.10221d90
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 4], 0
mov edi, dword [ebp - 0x1c]
cmp ebx, 2
jb 0x101f9046
call fcn.10221d90
push edi
call fcn.101ee6e0
add esp, 4
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x101f9090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esi + 0x58], eax
test ebx, ebx
je 0x101f91f6
lea edi, [ebx + 0xffff]
and edi, 0xffff0000
cmp edi, ebx
jb 0x101f91f3
test edi, edi
js 0x101f91f3
cmp dword [ebp + 0xc], 0
je 0x101f9267
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0xffffffff
lea eax, [esi + 0x40]
push 2
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x101f91f3
lea eax, [esi + 0x20]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x101f91f3
push 0
lea eax, [esi + 0x40]
push eax
push 1
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x101f91f3
mov dword [esi + 0x14], 0xc
lea eax, [esi + 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0x14]
push 0
push edi
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x101f91f3
mov edi, eax
mov dword [esi + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esi + 0x48]
push 0
push 0
push 7
push ecx
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [esi + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0xc], 0
je 0x101f91f3
mov edi, dword [esi + 0x48]
test edi, edi
je 0x101f91f3
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea edx, [edi + 1]
cmp edx, 2
jb 0x101f91cd
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
call fcn.10221d90
mov eax, dword [esi + 0xc]
mov ecx, edi
mov dword [esi + 0xc], ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x101f9211
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1021ed30
mov eax, dword [esi + 0xc]
jmp 0x101f924f
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1021ed30
mov ecx, dword [esi + 0x58]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xc], esp
sub esp, 0x10
mov edi, esp
lea eax, [esi + 0x48]
push eax
call fcn.102062c0
add esp, 4
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.100bc480
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea eax, [esi + 0x48]
mov dword [edi + 0xc], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.101f8df0
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
inc eax
cmp eax, 2
jb 0x101f91fd
call fcn.10221d90
push dword [esi + 0x10]
call fcn.101ee6e0
add esp, 4
jmp 0x101f91fd
int3
Function at 0x101f97c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x5c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 0x10]
push 0xb2
push str....._base_files_file_win.cc
push str.GetLength
push edi
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.10209420
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.1026e1d0
test al, al
je 0x101f9842
lea ecx, [esp + 0x10]
push 0
push 0
push esi
push str.File::GetLength
call fcn.1026e2e0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
lea eax, [esp + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb esi, esi
mov edi, dword [esp + 0xc]
or edi, esi
or esi, dword [esp + 8]
lea ecx, [esp + 0x10]
call fcn.1026e270
lea ecx, [esp + 0x20]
call fcn.102094a0
mov ecx, dword [esp + 0x5c]
xor ecx, ebp
call fcn.102f4c53
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x101f9c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x101f9c8a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x101f9c74
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x101f9c83
mov dword [esi], ebx
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x101f9d80
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, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x103c2010]
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
mov edi, esp
push 0x2a0
push str....._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push edi
call fcn.10209420
call fcn.10201780
test al, al
je 0x101f9e0e
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
movdqa xmmword [esp], xmm0
mov dword [esp + 0x20], 0xffffffff
cmp byte [esi + 0xb], 0
jns 0x101f9dfe
mov esi, dword [esi]
push edi
push 0
push esi
call fcn.10201970
add esp, 0xc
test eax, eax
jmp 0x101f9e20
cmp byte [esi + 0xb], 0
jns 0x101f9e16
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea ecx, [esp + 0x30]
call fcn.102094a0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f9e50
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, 0x50
mov esi, edx
mov edi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x2b0
push str....._base_files_file_util_win.cc
push str.PathHasAccess
push ebx
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push ebx
call fcn.10209420
cmp byte [edi + 0xb], 0
jns 0x101f9eaf
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x101f9efd
test al, 0x10
cmove esi, dword [ebp + 8]
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
push 0
push ecx
push 3
push 0
push 7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x101f9f0a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x101f9f01
call fcn.10221d90
mov ebx, esi
jmp 0x101f9f03
xor ebx, ebx
jmp 0x101f9f25
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebx + 1]
cmp eax, 2
mov esi, ebx
setae bl
jb 0x101f9f25
call fcn.10221d90
push esi
call fcn.101ee6e0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.102094a0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x101f9f70
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, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x2cf
push str....._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.10221d60
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.10209420
cmp byte [edi + 0xb], 0
jns 0x101f9fd0
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.102094a0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101fa010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.102f7d80
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x101fa093
push ebx
call fcn.1030fc76
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.10223310
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.10224e60
mov ecx, dword [ebp + 8]
push ebx
call fcn.10223400
mov ecx, ebx
call fcn.102233c0
mov ecx, edi
call fcn.102233c0
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x101fa0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.102f7d80
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x103653a0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x101fa128
cmp word [ebp - 0x214], 0
je 0x101fa128
push edi
call fcn.1030fc76
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.10223310
jmp 0x101fa181
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.102232b0
push edi
call fcn.101fa010
add esp, 4
mov ecx, esi
test al, al
je 0x101fa16a
push edi
call fcn.102232e0
jmp 0x101fa176
push 3
push 0x103653e8
call fcn.10223310
lea ecx, [ebp - 0x220]
call fcn.102233c0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.102f4c53
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x101fa1a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov esi, esp
push 0x36e
push str....._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push esi
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push esi
call fcn.10209420
cmp byte [ebx + 0xb], 0
mov esi, ebx
jns 0x101fa200
mov esi, dword [ebx]
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101fa232
mov bl, 1
test al, 0x10
jne 0x101fa329
test edi, edi
je 0x101fa223
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x101fa329
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0xffffffff
mov ecx, ebx
mov edi, esp
push edi
call fcn.102239a0
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x101fa262
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
test eax, eax
je 0x101fa26e
test ecx, ecx
je 0x101fa347
movzx ebx, byte [esp + 0xb]
test bl, bl
cmovs ebx, dword [esp + 4]
mov edx, dword [esp]
cmovns edx, edi
test ebx, ebx
je 0x101fa28c
test edx, edx
je 0x101fa347
cmp ebx, eax
jne 0x101fa2b1
test ebx, ebx
je 0x101fa2b1
xor ebx, ebx
nop word cs:[eax + eax]
movzx edi, word [edx + ebx*2]
cmp di, word [ecx + ebx*2]
jne 0x101fa2b5
inc ebx
cmp eax, ebx
jne 0x101fa2a0
jmp 0x101fa306
cmp ebx, eax
je 0x101fa306
mov edi, dword [ebp + 0xc]
push edi
lea eax, [esp + 4]
push eax
call fcn.101fa1a0
add esp, 8
test al, al
je 0x101fa320
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x101fa322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x101fa2f7
push dword [ebp + 8]
call fcn.101f9f70
add esp, 4
test al, al
jne 0x101fa322
test edi, edi
je 0x101fa319
push esi
call fcn.101f98a0
add esp, 4
jmp 0x101fa317
mov eax, 0xfffffffc
mov esi, 2
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x101fa319
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov ecx, esp
call fcn.102233c0
lea ecx, [esp + 0x10]
call fcn.102094a0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x12e
push str....._buildtools_third_partylibc_trunkinclude_string_view
push str._s:_d:_assertion__s_failed:__s
call fcn.10090eb0
int3
Function at 0x101fa4a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa90
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0xa88], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa70], xmm0
movdqa xmmword [esp + 0xa60], xmm0
movdqa xmmword [esp + 0xa50], xmm0
lea ebx, [esp + 0x250]
push 0x3c1
push str....._base_files_file_util_win.cc
push str.DevicePathToDriveLetterPath
push ebx
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0xa50]
push 0
push ebx
call fcn.10209420
push 0x800
push 0
push ebx
call fcn.102f7d80
add esp, 0xc
push ebx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x101fa5f5
lea esi, [esp + 0x48]
push 0x208
push 0xff
push esi
call fcn.102f7d80
add esp, 0xc
mov word [esp + 0x44], 0
mov dword [esp + 0x40], 0x3a0020
movzx eax, word [esp + 0x250]
test ax, ax
je 0x101fa5f5
lea edi, [esp + 0x34]
nop dword [eax]
mov word [esp + 0x40], ax
push 0x104
push esi
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x101fa5e0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
push esi
call fcn.1030fc76
add esp, 4
mov ecx, edi
push eax
push esi
call fcn.10223310
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
call fcn.10223440
test al, al
jne 0x101fa5fc
mov ecx, edi
push esi
call fcn.10223e10
test al, al
jne 0x101fa5fc
mov ecx, edi
call fcn.102233c0
lea esi, [esp + 0x48]
nop word [eax + eax]
cmp word [ebx], 0
lea ebx, [ebx + 2]
jne 0x101fa5e0
movzx eax, word [ebx]
test ax, ax
jne 0x101fa570
xor ebx, ebx
jmp 0x101fa6a5
lea eax, [esp + 0x48]
push eax
call fcn.1030fc76
add esp, 4
lea edi, [esp + 0x28]
lea ebx, [esp + 0xc]
mov ecx, ebx
push edi
push 0xffffffffffffffff
push eax
push esi
call fcn.101e1280
lea esi, [esp + 0x40]
push esi
call fcn.1030fc76
add esp, 4
mov ecx, ebx
push eax
push esi
push 0
call fcn.101e0dd8
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movzx eax, byte [esp + 0x23]
test al, al
jns 0x101fa66d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x101fa671
lea edx, [esp + 0x18]
mov esi, dword [ebp + 0xc]
mov ecx, edi
push eax
push edx
call fcn.10223310
mov ecx, esi
push edi
call fcn.10223400
mov ecx, edi
call fcn.102233c0
cmp byte [esp + 0x23], 0
js 0x101fa6c9
cmp byte [esp + 0x17], 0
js 0x101fa6dc
lea ecx, [esp + 0x34]
call fcn.102233c0
mov bl, 1
lea ecx, [esp + 0xa50]
call fcn.102094a0
mov ecx, dword [esp + 0xa88]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x18]
call fcn.102f3c66
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x101fa69a
push dword [esp + 0xc]
call fcn.102f3c66
add esp, 4
jmp 0x101fa69a