Function at 0x407f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405b40
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004050a0
push 0x14
push str.FastAuthProvider.ncx
lea ecx, [ebp - 0x40]
call fcn.0040b370
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov dword [ebp - 0x70], 0
cmovae edx, dword [ebp - 0x40]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408015
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0040afa0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push ecx
push 0
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00407880
mov edx, dword [ebp - 0x5c]
mov esi, eax
cmp edx, 8
jb 0x408081
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081b6
push edx
push ecx
call fcn.0044434d
add esp, 8
test esi, esi
je 0x4080c4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
jb 0x408094
test ecx, ecx
je 0x4080ca
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
cmp word [eax], 0
je 0x4080ca
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4080c4
mov edx, dword [ebp - 0x14]
mov esi, 1
mov ecx, dword [ebp - 0x28]
jmp 0x4080cc
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40810c
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081bb
push edx
push ecx
call fcn.0044434d
mov edx, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x408150
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081bb
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40819a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081bb
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
call fcn.00447297
int3