Function at 0x10029730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x294
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1003cbf0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
test ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
je 0x100298b2
js 0x10029a49
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 1
push ebx
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x10029a4e
mov edi, dword [ebp + 0xc]
push ebx
push edi
mov dword [ebp - 0x24], eax
push eax
call fcn.1006f830
add esp, 0xc
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 1
push ebx
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x10029a56
mov esi, eax
push ebx
push edi
push eax
call fcn.1006f830
add esp, 0xc
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x298], ebx
mov byte [ebp - 0x294], 0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x2a0]
push 1
push 0x10080a2c
push eax
call sym.kso.dll_std::path::PathBuf::_push::h75ff44bd200ecab5
add esp, 0xc
mov eax, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x298]
mov byte [ebp - 0x1e], 1
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
push esi
call fcn.10038170
add esp, 4
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x80000000
je 0x10029876
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x1e], 1
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x2a0]
push 1
call fcn.1002e7e0
add esp, 4
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
cmp esi, 0x80000000
jne 0x100298d9
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi], 2
mov bl, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002989c
push 1
push eax
push dword [ebp - 0x34]
call sym.kso.dll___rust_dealloc
add esp, 0xc
test bl, bl
je 0x100298c3
push 1
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call sym.kso.dll___rust_dealloc
add esp, 0xc
jmp 0x100298c3
mov byte [edi + 4], 0
mov dword [edi + 8], 3
mov dword [edi], 2
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x294
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x250
push 0
lea edi, [ebp - 0x2a0]
push edi
call fcn.1006fdb0
add esp, 0xc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [ebp + 0x10]
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
je 0x100299ac
mov dword [ebp - 0x2c], esi
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0x18
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x10029a6e
mov dword [eax], 1
mov dword [eax + 4], 1
mov esi, eax
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov edi, dword [ebp + 8]
mov byte [esi + 0x14], 0
lea eax, [edi + 4]
push 0x250
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call fcn.1006f830
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [edi], 1
mov dword [edi + 0x254], esi
mov esi, dword [ebp - 0x2c]
mov dword [edi + 0x258], eax
test esi, esi
je 0x10029988
add esi, esi
push 2
push esi
push ebx
call sym.kso.dll___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002999d
push 1
push eax
push dword [ebp - 0x34]
call sym.kso.dll___rust_dealloc
add esp, 0xc
cmp dword [ebp - 0x30], 0xffffffff
jne 0x100298c3
jmp 0x100298a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10029a2c
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0x18
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x10029a86
mov ecx, dword [ebp - 0x24]
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], edi
test esi, esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov edi, dword [ebp + 8]
mov byte [eax + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x254], eax
mov dword [edi + 0x258], 0xffffffff
je 0x10029a1a
add esi, esi
push 2
push esi
push ebx
call sym.kso.dll___rust_dealloc
add esp, 0xc
xor ebx, ebx
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1002988e
jmp 0x1002989c
mov edi, dword [ebp + 8]
mov byte [edi + 4], 0
mov dword [edi + 8], eax
mov dword [edi], 2
test esi, esi
jne 0x1002997a
jmp 0x10029988
call sym.kso.dll_alloc::raw_vec::capacity_overflow::hb4380fcd4c99d9cf
push ebx
push 1
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
push ebx
push 1
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
add esp, 8
jmp 0x10029a9f
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], 4
push 0x18
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
add esp, 8
jmp 0x10029a9f
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], 5
push 0x18
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
add esp, 8
ud2