Function at 0x45c6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b635d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e3018]
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
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x45c8b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.ew.e
push 0x4cd850
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push str.web_sfCefVi_sxe
push eax
call fcn.00403ab0
mov edi, dword [0x4f8118]
add esp, 0x10
mov dword [ebp - 0x14], 0
test edi, edi
je 0x45c732
lock inc dword [edi + 4]
mov edi, dword [0x4f8118]
mov ecx, dword [0x4f8114]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
call fcn.0046b1c0
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c780
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042c6a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.0045c280
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x45c7bb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406470
lea ecx, [ebp - 0x58]
call fcn.0042c640
lea ecx, [ebp - 0x40]
call fcn.0042c640
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c7f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c813
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
test edi, edi
je 0x45c83a
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x45c83a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x45c83a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c862
push ecx
mov edi, esp
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00416960
add eax, 0x10
mov dword [edi], eax
call fcn.0045c350
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c880
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45c89c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00486999
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
int3