Function at 0x4207a1
Capabilities:
Check if file exists

Disassembly:
push 0x70
mov eax, 0x42465d
call fcn.00421412
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4209dd
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4209dd
lea ecx, [ebp - 0x7c]
call fcn.00420692
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
call fcn.0041c4ab
lea ecx, [ebp - 0x7c]
test al, al
je 0x4209d4
push str.bugreportctrl
call fcn.0041b930
test al, al
je 0x4209d1
lea ecx, [ebp - 0x7c]
call fcn.0041b4df
test al, al
je 0x4209d1
push str.module
lea ecx, [ebp - 0x7c]
call fcn.0041b930
test al, al
je 0x4209c9
mov esi, dword [sym.imp.MSVCR100.dll_wcstoul]
push str.Name
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041f880
push str.IsShowUI
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.0041f880
push 0x42dc10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0041f880
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00404aef
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00401652
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 8]
push eax
lea eax, [ebp - 0x30]
push eax
add ecx, 4
mov byte [ebp - 4], 4
call fcn.00402ad3
cmp dword [eax], edi
mov ecx, dword [ebp - 0x2c]
setne byte [ebp + 0xb]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401171
cmp byte [ebp + 0xb], bl
je 0x420921
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.00401652
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
add ecx, 4
mov byte [ebp - 4], 5
call fcn.0042037c
push 0xa
push ebx
push dword [ebp - 0x1c]
mov edi, eax
call esi
mov ecx, dword [edi]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401171
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00401652
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
add ecx, 4
mov byte [ebp - 4], 6
call fcn.0042037c
push 0xa
push ebx
push dword [ebp - 0x18]
mov edi, eax
call esi
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x420988
push 0x14
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x420947
lea ecx, [edi + 8]
push ecx
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x34], esp
call fcn.00407e36
jmp 0x420949
xor edi, edi
push 0xa
push ebx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 3
call esi
push 0xa
mov dword [edi], eax
push ebx
push dword [ebp - 0x18]
call esi
add esp, 0x18
mov dword [edi + 4], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.00401652
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
add ecx, 4
mov byte [ebp - 4], 8
call fcn.0042037c
mov dword [eax], edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401171
push str.module
lea ecx, [ebp - 0x7c]
call fcn.0041b930
test al, al
jne 0x42082b
lea ecx, [ebp - 0x7c]
call fcn.0041b76c
lea ecx, [ebp - 0x7c]
or dword [ebp - 4], 0xffffffff
call fcn.004206f9
call fcn.004214ea
ret 4