Function at 0x100b55c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x27c
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
test esi, esi
je 0x100b56fd
js 0x100b589f
mov ebx, dword [0x101918ac]
movzx eax, byte [ebx]
push 1
push esi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x100b58a8
mov edi, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x10], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx]
push 1
push esi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x100b58b4
mov ebx, eax
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], esi
mov byte [ebp - 0x27c], 0
lea eax, [ebp - 0x288]
push 1
push 0x10178b5c
push eax
call sym.std::path::PathBuf::_push::h1d228904847b0d0d
add esp, 0xc
mov eax, dword [ebp - 0x288]
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], edx
push dword [ebp - 0x280]
call sym.std::sys::pal::windows::to_u16s::inner::h9c1ce760b5043b66
add esp, 4
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp edx, 0x80000000
je 0x100b56cc
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], ecx
lea edx, [ebp - 0x288]
lea ecx, [ebp - 0x2c]
push 1
call sym.std::sys::path::windows::get_long_path::h78b4a6c417dc393d
add esp, 4
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x80000000
jne 0x100b571b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], ecx
mov dword [edi], 2
test eax, eax
je 0x100b56ed
push 1
push eax
push dword [ebp - 0x18]
call sym.___rust_dealloc
add esp, 0xc
push 1
push esi
push dword [ebp - 0x10]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x100b570e
mov byte [edi + 4], 0
mov dword [edi + 8], 3
mov dword [edi], 2
mov eax, edi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x28]
push 0x250
push 0
lea eax, [ebp - 0x288]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
mov dword [ebp - 0x20], esi
push esi
call sub.kernel32.dll_FindFirstFileW
cmp eax, 0xffffffff
je 0x100b57de
mov esi, eax
mov eax, dword [0x101918ac]
mov dword [ebp - 0x1c], ebx
movzx eax, byte [eax]
push 4
push 0x18
call sym.___rust_alloc
add esp, 8
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x100b58c1
mov dword [eax], 1
mov dword [eax + 4], 1
mov ebx, eax
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
lea eax, [edi + 4]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], 0
push 0x250
lea ecx, [ebp - 0x288]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [edi], 1
mov dword [edi + 0x254], ebx
mov dword [edi + 0x258], esi
test eax, eax
je 0x100b57d1
add eax, eax
push 2
push eax
push dword [ebp - 0x20]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100b570e
jmp 0x100b5859
call sub.kernel32.dll_GetLastError
mov esi, dword [ebp + 0x10]
cmp eax, 2
jne 0x100b5864
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 4
push 0x18
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x100b58cf
mov ecx, dword [ebp - 0x10]
test ebx, ebx
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], esi
mov dword [edi], 0
mov dword [edi + 0x254], eax
mov dword [edi + 0x258], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov byte [eax + 0x14], 0
je 0x100b584e
add ebx, ebx
push 2
push ebx
push dword [ebp - 0x20]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100b570e
push 1
push eax
push dword [ebp - 0x18]
jmp 0x100b56f3
test ebx, ebx
mov byte [edi + 4], 0
mov dword [edi + 8], eax
mov dword [edi], 2
je 0x100b5885
add ebx, ebx
push 2
push ebx
push dword [ebp - 0x20]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100b589a
push 1
push eax
push dword [ebp - 0x18]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x100b56ed
xor eax, eax
push esi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
mov eax, 1
push esi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
push esi
push 1
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x100b58de
push 0x18
push 4
call sym.alloc::alloc::handle_alloc_error::h9a0385ddba01e206
add esp, 8
jmp 0x100b58de
mov dword [ebp - 0x1c], ebx
push 0x18
push 4
call sym.alloc::alloc::handle_alloc_error::h9a0385ddba01e206
add esp, 8
ud2