Function at 0x4200b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64902d
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov edi, ecx
xor eax, eax
push 0x688638
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.00403600
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0041fda0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 8
mov esi, eax
jb 0x420129
mov edx, dword [ebp - 0x30]
push edx
call fcn.004effaf
add esp, 4
cmp esi, ebx
je 0x420498
cmp dword [edi + 0x14], ebx
je 0x420498
cmp dword [edi + 0x30], ebx
je 0x420498
lea esi, [ebp - 0xd8]
call fcn.00432620
mov dword [ebp - 0x130], eax
lea esi, [ebp - 0xa0]
mov dword [ebp - 4], 1
call fcn.00432680
lea edx, [edi + 0xac]
mov ecx, eax
mov eax, edx
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edx
call fcn.0040ad10
push 0x688728
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
call fcn.0040ac00
add esp, 0xc
mov ecx, dword [ebp - 0x130]
push ecx
push eax
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 4
call fcn.0040ada0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x4201c6
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], esi
jb 0x4201e7
mov edx, dword [ebp - 0x30]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x8c], esi
jb 0x42020e
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
mov byte [ebp - 4], 9
cmp dword [ebp - 0xc4], esi
jb 0x420242
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], cx
cmp dword [ebp - 0x58], ebx
je 0x42029e
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x42026b
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x42029e
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x84]
call fcn.00434a70
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x74], ebx
jne 0x4202ab
lea ecx, [ebp - 0x84]
call fcn.004bf3b0
lea ecx, [ebp - 0x68]
call fcn.004bf3b0
jmp 0x420498
lea esi, [edi + 0x20]
mov eax, esi
mov dword [ebp - 0x130], esi
call fcn.00435910
test al, al
jne 0x4202c8
push esi
call fcn.00435930
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00401f50
lea ecx, [ebp - 0x24]
push ecx
call fcn.00420ee0
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x20]
je 0x42034b
push ebx
xor edx, edx
push 0x688638
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.00403600
mov eax, dword [ebp + 8]
push ebx
push eax
lea ecx, [ebp - 0x68]
push ecx
push esi
push edi
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.00433050
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x38], 8
jb 0x420343
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004effaf
add esp, 4
add esi, 0x1c
cmp esi, dword [ebp - 0x20]
jne 0x4202f2
lea esi, [ebp - 0x12c]
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0x134]
lea esi, [ebp - 0x110]
mov byte [ebp - 4], 0xd
call fcn.0040ad10
push 0x688728
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040ac00
add esp, 0xc
push 0x690598
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov byte [ebp - 4], 0xf
call fcn.0040ac00
add esp, 0xc
lea edx, [ebp - 0x84]
push edx
mov edx, dword [ebp - 0x130]
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00433500
mov esi, 8
cmp dword [ebp - 0xa8], esi
jb 0x4203d3
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0xe0], esi
jb 0x420404
mov edx, dword [ebp - 0xf4]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], ax
cmp dword [ebp - 0xfc], esi
jb 0x420430
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov word [ebp - 0x110], dx
cmp dword [ebp - 0x118], esi
jb 0x42045c
mov eax, dword [ebp - 0x12c]
push eax
call fcn.004effaf
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.00409ce0
cmp dword [ebp - 0x70], esi
jb 0x420478
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
cmp dword [ebp - 0x54], esi
jb 0x420498
mov eax, dword [ebp - 0x68]
push eax
call fcn.004effaf
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 4