Function at 0x4211b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6452df
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edi
mov dword [ebp - 0xa4], edi
mov ebx, ecx
call fcn.00432d70
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi], 0x6908cc
xor eax, eax
mov dword [edi + 0xdc], 7
mov dword [edi + 0xd8], esi
mov word [edi + 0xc8], ax
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0xac]
push ebx
mov byte [ebp - 4], 1
call fcn.00403240
lea ecx, [ebp - 0x80]
push ecx
call fcn.00422dd0
add esp, 4
mov byte [ebp - 4], 2
lea ebx, [esi + 8]
cmp dword [ebp - 0x70], esi
je 0x4212ff
lea esi, [ebp - 0x48]
call fcn.00432560
mov ecx, eax
lea eax, [ebp - 0x80]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040ad10
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
call fcn.00402260
cmp dword [ebp - 0x18], ebx
jb 0x421276
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x42129f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x48]
call fcn.00432590
mov ecx, eax
lea eax, [ebp - 0x80]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040ad10
push eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 6
call fcn.00402260
cmp dword [ebp - 0x18], ebx
jb 0x4212d6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x4212ff
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x9c]
mov byte [edi + 0xe4], 0
call fcn.00432620
mov dword [ebp - 0xa0], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.004325f0
mov ecx, eax
lea eax, [edi + 0xac]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040ad10
mov edx, dword [ebp - 0xa0]
push edx
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 9
call fcn.0040ada0
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x42135f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], ebx
jb 0x421382
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x88], ebx
jb 0x4213a9
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], esi
je 0x4213d0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x4213b9
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x4213d0
mov byte [edi + 0xe4], 1
cmp dword [ebp - 0x50], ebx
jb 0x4213e1
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], ebx
jb 0x421402
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret