Function at 0x41ada0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c0760]
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
mov esi, ecx
mov dword [ebp - 0x60], 0
call fcn.0041b130
cmp byte [eax + 4], 0
je 0x41ae04
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4a906c
mov word [esi], ax
call fcn.0040e3a0
jmp 0x41b048
mov eax, dword [0x4c7934]
mov edi, 0x4c7938
test al, 1
jne 0x41ae41
or eax, 1
mov dword [0x4c7934], eax
push 0x4a906c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040e040
push 0x49a370
call fcn.004607a9
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4c7948], 0
je 0x41ae65
cmp dword [0x4c794c], 8
mov ecx, esi
cmovae edi, dword [0x4c7938]
push edi
call fcn.0040e040
jmp 0x41b048
push 0x4ab74c
lea ecx, [ebp - 0x28]
call fcn.0040e040
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0041ed60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00410770
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41ae9e
mov eax, dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x5c], eax
jb 0x41aebb
push dword [ebp - 0x58]
call fcn.0046080a
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x41aee4
push dword [ebp - 0x40]
call fcn.0046080a
add esp, 4
cmp dword [ebp - 0x5c], 0
je 0x41af42
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0041b070
add esp, 4
mov ecx, edi
push eax
call fcn.00410730
cmp dword [ebp - 0x2c], 8
jb 0x41af12
push dword [ebp - 0x40]
call fcn.0046080a
add esp, 4
cmp dword [0x4c794c], 8
mov ecx, esi
cmovae edi, dword [0x4c7938]
push edi
call fcn.0040e040
cmp dword [ebp - 0x14], 8
jb 0x41b048
push dword [ebp - 0x28]
call fcn.0046080a
add esp, 4
jmp 0x41b048
lea ecx, [ebp - 0x78]
call fcn.0041ed60
push 0x4ab760
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00410850
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00410770
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41af7d
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x44], 8
mov ebx, eax
jb 0x41af93
push dword [ebp - 0x58]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x41afb8
push dword [ebp - 0x40]
call fcn.0046080a
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x41afe1
push dword [ebp - 0x78]
call fcn.0046080a
add esp, 4
test ebx, ebx
je 0x41b034
push 0x4ab760
lea ecx, [ebp - 0x40]
call fcn.0040e040
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00410770
add esp, 4
mov ecx, edi
push eax
call fcn.00410730
lea ecx, [ebp - 0x78]
call fcn.0040b5d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040b5d0
cmp dword [0x4c794c], 8
cmovae edi, dword [0x4c7938]
push edi
jmp 0x41b039
push 0x4a906c
mov ecx, esi
call fcn.0040e040
lea ecx, [ebp - 0x28]
call fcn.0040b5d0
mov eax, esi
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.0045fbcc
mov esp, ebp
pop ebp
ret