Function at 0x4e2620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b33a
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.004e22b0
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.00401a40
add esp, 4
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax]
push ecx
push 0x5bdf70
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x510]
add eax, 0x50
push eax
call fcn.004059c0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0042f130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0042f130
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x510]
add ecx, 0x50
call fcn.004287b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e2732
mov edx, dword [ebp - 0x248]
mov byte [edx + 0x524], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042f130
jmp 0x4e2a94
mov eax, dword [0x5bdf98]
mov dword [ebp - 0x21c], eax
mov ecx, dword [0x5bdf9c]
mov dword [ebp - 0x218], ecx
push 0x200
push 0
lea edx, [ebp - 0x214]
push edx
call fcn.004bbbe0
add esp, 0xc
mov word [ebp - 0x224], 0x43
jmp 0x4e277c
mov ax, word [ebp - 0x224]
add ax, 1
mov word [ebp - 0x224], ax
movzx ecx, word [ebp - 0x224]
cmp ecx, 0x5a
jg 0x4e28b2
mov dx, word [ebp - 0x224]
mov word [ebp - 0x21c], dx
push 1
mov ax, word [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00450000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004e22b0
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x228]
call fcn.004287b0
push eax
push str._s:drivers_plus_s
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x510]
add eax, 0x50
push eax
call fcn.004059c0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.0042f130
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x510]
add ecx, 0x50
call fcn.004287b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e289e
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e286e
lea eax, [ebp - 0x21c]
push eax
call fcn.0044fe40
add esp, 4
test eax, eax
je 0x4e286e
mov ecx, dword [ebp - 0x248]
mov byte [ecx + 0x524], 1
jmp 0x4e287b
mov edx, dword [ebp - 0x248]
mov byte [edx + 0x524], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042f130
jmp 0x4e2a94
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0042f130
jmp 0x4e276a
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.004e2510
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004e22b0
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004287b0
push eax
push 0x5bdfc8
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x510]
add eax, 0x50
push eax
call fcn.004059c0
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.0042f130
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 0x510]
add ecx, 0x50
call fcn.004287b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e29cf
push 1
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x510]
add ecx, 0x50
call fcn.00419240
lea ecx, [ebp - 0x22c]
call fcn.004287b0
push eax
call fcn.0044fe40
add esp, 4
test eax, eax
je 0x4e2994
mov ecx, dword [ebp - 0x248]
mov byte [ecx + 0x524], 1
jmp 0x4e29a1
mov edx, dword [ebp - 0x248]
mov byte [edx + 0x524], 0
lea ecx, [ebp - 0x22c]
call fcn.0042f130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042f130
jmp 0x4e2a94
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.004e22b0
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x244]
push edx
call fcn.00401a40
add esp, 4
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax]
push ecx
push str._sdrivers_plus_s
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x510]
add eax, 0x50
push eax
call fcn.004059c0
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x244]
call fcn.0042f130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.0042f130
mov ecx, dword [ebp - 0x248]
mov byte [ecx + 0x524], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042f130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4