Function at 0x42aa80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649b03
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x6c3afc]
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
xor edi, edi
push edi
mov esi, ecx
xor eax, eax
push 0x688638
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403600
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0042a830
mov ebx, 8
mov dword [ebp - 4], 0xffffffff
mov edi, eax
cmp dword [ebp - 0x18], ebx
jb 0x42aafd
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
test edi, edi
je 0x42acf0
push str.Extensions_
lea edi, [esi + 4]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0040aa60
add esp, 0xc
lea ecx, [esi + 0x3c]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 4], 1
call fcn.0040ad50
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], ebx
jb 0x42ab47
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x54], ecx
je 0x42ab7b
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x42ab6b
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x42ab8d
cmp dword [ebp - 0x50], ebx
jb 0x42acf0
mov edx, dword [ebp - 0x64]
push edx
jmp 0x42ace8
lea eax, [ebp - 0x48]
push eax
call fcn.0042ad10
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0
jne 0x42abc7
cmp dword [ebp - 0x34], ebx
jb 0x42abb4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
jmp 0x42acd9
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x80], cx
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
call fcn.00403240
lea edx, [ebp - 0x80]
push edx
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0042b370
test al, al
jne 0x42ac29
push str..bak
lea edi, [esi + 0x20]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0040aa60
add esp, 0xc
mov ecx, edi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00436b70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004bf3b0
push str..bak
lea edi, [esi + 0x20]
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.0040aa60
add esp, 0xc
push 1
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00436030
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], ebx
jb 0x42ac63
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
push str._de.db
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.0040aa60
add esp, 0xc
push 1
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00436030
add esp, 4
cmp dword [ebp - 0x88], ebx
jb 0x42ac9e
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x6c], ebx
jb 0x42acaf
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x34], ebx
jb 0x42acd3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
xor edx, edx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], ebx
jb 0x42acf0
mov eax, dword [ebp - 0x64]
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 - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret