Function at 0x45b3d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524b3f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57c8b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004081b0
push str._net_netload.dll
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
push eax
call fcn.00443c70
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b497
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b453
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45b553
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._lsp_init_netload.dll_failed
call fcn.00446bb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
call fcn.00468a00
add esp, 4
test eax, eax
je 0x45b432
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x45b432
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallProvider
push eax
call esi
push str.RemoveProvider
push dword [ebx]
mov dword [ebx + 4], eax
call esi
push str.LdsIsInstall
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.LdsSetRegKey
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], eax
je 0x45b50b
cmp dword [ebx + 8], 0
je 0x45b50b
cmp dword [ebx + 0xc], 0
je 0x45b50b
test eax, eax
je 0x45b50b
mov edi, 1
jmp 0x45b50d
xor edi, edi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b52e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b54f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x45b574
push str._lsp_init_netload.dll_failed
call fcn.00446bb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x583ddc]
test ecx, ecx
jne 0x45b5d8
push 0x57b310
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x583ddc], 0
jne 0x45b5bf
push 0x1c
call fcn.004402f0
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
test edi, edi
je 0x45b5b7
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x45b5b9
xor edi, edi
mov dword [0x583ddc], edi
push 0x57b310
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x583ddc]
test ecx, ecx
jne 0x45b5d8
xor eax, eax
jmp 0x45b634
mov eax, dword [0x583dd8]
test eax, eax
jne 0x45b634
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x583dd8], 0
jne 0x45b624
push 0x64
call fcn.004402f0
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x45b612
mov ecx, eax
call fcn.00420ae0
mov ecx, eax
jmp 0x45b614
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x14], eax
mov dword [0x583dd8], ecx
mov eax, dword [0x583ddc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x583dd8]
mov ecx, eax
call fcn.004212e0
mov edi, dword [ebx + 0x18]
sub edi, 0x10
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov dword [ebp + 8], eax
cmp eax, edi
je 0x45b693
cmp dword [edi + 0xc], 0
jl 0x45b687
mov eax, dword [ecx - 0x10]
cmp eax, dword [edi]
jne 0x45b687
push dword [ebp + 8]
call fcn.0040ad50
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [edi + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x45b67f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebx + 0x18], eax
jmp 0x45b693
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0x18]
call fcn.0040a4c0
mov dword [ebx + 0x14], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4