Function at 0x4183bc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622553
mov eax, dword fs:[0]
push eax
mov eax, 0x2088
call fcn.0050de20
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x208c], eax
lea esi, [eax + 4]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418403
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41865d
cmp dword [esi + 0x14], 8
jb 0x41841a
mov esi, dword [esi]
push 0x62b4f0
push esi
call fcn.0052f936
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41865d
push str..ACP
xor ebx, ebx
push ebx
call fcn.00537621
push 0x2000
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.00526600
lea eax, [ebp - 0x2010]
push eax
push 0x62b4fc
push esi
call fcn.0041ac1f
add esp, 0x20
jmp 0x41864d
xor eax, eax
mov dword [ebp - 0x2018], ebx
mov word [ebp - 0x2028], ax
lea ecx, [ebp - 0x2028]
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 7
push eax
call fcn.004029b0
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2048], ebx
mov dword [ebp - 0x2044], 7
mov word [ebp - 0x2058], ax
mov dword [ebp - 0x2030], ebx
mov dword [ebp - 0x202c], 7
mov word [ebp - 0x2040], ax
push ebx
push 0x62b504
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 2
call fcn.00419b74
mov edi, eax
cmp edi, 0xffffffff
jne 0x41850d
lea ecx, [ebp - 0x2040]
call fcn.00402a10
lea ecx, [ebp - 0x2058]
call fcn.00402a10
or dword [ebp - 4], edi
lea ecx, [ebp - 0x2028]
call fcn.00402a10
jmp 0x418638
inc edi
lea ecx, [ebp - 0x2028]
push edi
push 0x62b508
call fcn.00419b74
mov ebx, eax
cmp ebx, 0xffffffff
je 0x418611
and dword [ebp - 0x2060], 0
lea ecx, [ebp - 0x2070]
xor eax, eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
mov eax, ebx
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x2028]
push eax
call fcn.00413b80
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x2058]
call fcn.00402a70
lea ecx, [ebp - 0x2070]
call fcn.00402a10
and dword [ebp - 0x2060], 0
lea ecx, [ebp - 0x2070]
xor eax, eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
lea eax, [ebx + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2028]
push eax
call fcn.00413b80
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x2040]
call fcn.00402a70
lea ecx, [ebp - 0x2070]
call fcn.00402a10
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2058]
push eax
lea ecx, [ebp - 0x2088]
call fcn.0041269e
mov ecx, dword [ebp - 0x208c]
push eax
lea eax, [ebp - 0x2094]
mov byte [ebp - 4], 3
push eax
lea ecx, [ecx + 0x34]
call fcn.00416ff0
lea ecx, [ebp - 0x2070]
call fcn.00402a10
lea ecx, [ebp - 0x2088]
call fcn.00402a10
lea ecx, [ebp - 0x2040]
call fcn.00402a10
lea ecx, [ebp - 0x2058]
call fcn.00402a10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2028]
call fcn.00402a10
xor ebx, ebx
lea eax, [ebp - 0x2010]
push eax
push 0x62b4fc
push esi
call fcn.0041ac1f
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41846a
push esi
call fcn.0052c4e1
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ce82
leave
ret