Function at 0x429c9f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x2000000
push 3
push ebx
push 3
push ebx
push eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.___total_physical_size__lu_MB_CreateFileW]
mov esi, eax
mov edi, 0x90073
cmp esi, 0xffffffff
jne 0x429d64
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
cmp eax, 2
jne 0x429d06
or eax, esi
jmp 0x429ee9
cmp eax, 5
je 0x429d14
cmp eax, 0x20
jne 0x429d99
push dword [ebp - 0x128]
call fcn.00429ac7
push eax
push str.SYSTEM
call fcn.00411f21
mov esi, eax
cmp esi, 0xffffffff
je 0x429d99
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push dword [ebp - 0x120]
push 8
push eax
push edi
lea eax, [ebp - 0x138]
push eax
push esi
call fcn.00428243
cmp eax, ebx
jne 0x429d64
push esi
call dword [sym.imp.___total_physical_size__lu_MB_CloseHandle]
xor eax, eax
inc eax
jmp 0x429ee9
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push dword [ebp - 0x120]
push 8
push eax
push edi
lea eax, [ebp - 0x138]
push eax
push esi
call fcn.00428243
push esi
mov edi, eax
call dword [sym.imp.___total_physical_size__lu_MB_CloseHandle]
cmp edi, ebx
je 0x429d5c
cmp edi, 0xc0000011
je 0x429d5c
cmp dword [0x48243c], 0xffffffff
jne 0x429db7
call fcn.004250fe
cmp dword [0x48243c], 0xffffffff
jne 0x429db7
xor eax, eax
jmp 0x429ee9
mov esi, dword [ebp - 0x128]
push 0x104
push esi
call fcn.00429ac7
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00451260
push 0x1c
push str._GLOBALROOT
push esi
call fcn.00450f08
add esp, 0x18
test eax, eax
jne 0x429e1b
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429df2
push ebx
lea ecx, [ebp - 0x124]
push ecx
push dword [ebp + 0x10]
sub eax, edx
push dword [ebp - 0x120]
add eax, 0xfffffff2
push eax
lea eax, [ebp - 0x10e]
jmp 0x429ed7
push 2
pop ecx
mov edi, 0x472bb4
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x429e58
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429e32
push ebx
lea ecx, [ebp - 0x124]
push ecx
push dword [ebp + 0x10]
sub eax, edx
push dword [ebp - 0x120]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x118]
jmp 0x429ed7
mov esi, dword [ebp - 0x128]
push 2
pop ecx
mov edi, 0x472ba8
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x429e7e
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429e75
jmp 0x429e39
cmp byte [ebp - 0x11b], 0x3a
jne 0x429ead
movsx eax, byte [ebp - 0x11c]
push eax
call fcn.00453103
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11c]
pop ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429ea4
jmp 0x429ebd
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429eb6
push ebx
lea ecx, [ebp - 0x124]
push ecx
push dword [ebp + 0x10]
sub eax, edx
push dword [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x86290073
push dword [0x48243c]
call dword [sym.imp.___total_physical_size__lu_MB_DeviceIoControl]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b32
leave
ret 0xc