Function at 0x424200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x626804
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x228], eax
lea ecx, [esp + 0x64]
call fcn.00423ed0
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x4242b4
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x228], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x228], 0
cmp esi, 0x6d6cf8
je 0x4242cc
push 0xffffffffffffffff
push 0
push 0x6d6cf8
mov ecx, esi
call fcn.00403b10
push ecx
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.004a0a50
add esp, 4
lea ecx, [esp + 0x104]
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c4], 0
call fcn.0040bc10
mov byte [esp + 0x228], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x228], 3
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x228], 4
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x4243cf
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x228], 5
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x228], 4
mov edx, 0x6d6658
lea ecx, [esp + 0x10]
call fcn.00426360
mov byte [esp + 0x228], 6
cmp dword [eax + 0x14], 8
jb 0x4243ed
mov eax, dword [eax]
push 0
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.00499490
add esp, 4
mov byte [esp + 0x228], 4
cmp dword [esp + 0x24], 8
jb 0x424418
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x10], ax
mov eax, dword [case.0x79a990.0]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
test al, 1
jne 0x424468
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x228], 7
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x228], 4
mov edx, 0x6d6670
lea ecx, [esp + 0x10]
call fcn.00426360
mov byte [esp + 0x228], 8
cmp dword [eax + 0x14], 8
jb 0x424486
mov eax, dword [eax]
push 0
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.00499490
add esp, 4
mov byte [esp + 0x228], 4
cmp dword [esp + 0x24], 8
jb 0x4244b1
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x10], ax
mov eax, dword [case.0x79a990.0]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
test al, 1
jne 0x424501
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x228], 9
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x228], 4
push dword [0x6d6688]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x110]
call fcn.0040c940
lea ecx, [esp + 0x94]
call fcn.00408e00
mov byte [esp + 0x228], 0xa
push 3
push 0x67801c
lea ecx, [esp + 0xcc]
call fcn.00403c30
lea eax, [esp + 0x94]
cmp eax, edi
je 0x42455b
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00403b10
push 0
push 0x676964
lea ecx, [esp + 0xb4]
call fcn.00403c30
push 0
push 0x676964
lea ecx, [esp + 0xec]
call fcn.00403c30
lea eax, [esp + 0x1f8]
mov dword [esp + 0x100], 0x1e
mov dword [esp + 0xfc], 0
cmp eax, esi
je 0x4245ae
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00403b10
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0040d520
mov dword [esp + 0x2c], eax
mov byte [esp + 0x228], 0xf
xor eax, eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x228], 0x10
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x114]
call fcn.0040bf40
cmp dword [esp + 0x10], 0
jne 0x42475a
cmp dword [esi + 0x14], 8
jb 0x42464e
mov eax, dword [esi]
jmp 0x424650
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42475a
push 0x677634
lea ecx, [esp + 0x14]
call fcn.004035b0
mov byte [esp + 0x228], 0x11
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x67770c
call fcn.004035b0
mov byte [esp + 0x240], 0x12
mov byte [esp + 0x240], 0x11
mov edx, esi
lea ecx, [esp + 0x28]
call fcn.00422a30
add esp, 0x18
mov byte [esp + 0x228], 0x10
cmp dword [esp + 0x24], 8
jb 0x4246c1
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
push esi
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
push 0x67abf8
push eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.0040d7c0
add esp, 0xc
mov edi, eax
mov byte [esp + 0x228], 0x13
cmp esi, edi
je 0x424724
cmp dword [esi + 0x14], 8
jb 0x424709
push dword [esi]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov word [esi], ax
call fcn.00403760
mov byte [esp + 0x228], 0x10
cmp dword [esp + 0x24], 8
jb 0x42473f
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov bl, 1
jmp 0x42475c
xor bl, bl
mov byte [esp + 0x228], 0xf
cmp dword [esp + 0x90], 8
jb 0x42477a
push dword [esp + 0x7c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x228], 0x15
mov eax, dword [esp + 0x2c]
push eax
push dword [eax]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
call fcn.0040cef0
mov byte [esp + 0x228], 0xa
push dword [esp + 0x2c]
call fcn.004c56c2
add esp, 4
mov byte [esp + 0x228], 4
lea ecx, [esp + 0x94]
call fcn.0040bae0
mov byte [esp + 0x228], 3
cmp dword [esp + 0x60], 0x10
jb 0x4247f7
push dword [esp + 0x4c]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x228], 2
cmp dword [esp + 0x48], 0x10
jb 0x424827
push dword [esp + 0x34]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x228], 0
lea ecx, [esp + 0x104]
call fcn.0040bdc0
mov dword [esp + 0x228], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x42486e
push dword [esp + 0x64]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x64], ax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov al, bl
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret