Function at 0x4b7540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c328
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4b758b
xor eax, eax
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 eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b7575
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0x57e144
push 0x17
push 0
push 0x57e244
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4b75c7
xor esi, esi
jmp 0x4b7808
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
push dword [esi]
xor eax, eax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x30], ax
call fcn.00461c30
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
movdqu xmm0, xmmword [ebp - 0x30]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov ecx, esp
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0xe8]
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [ebp - 0x18], 0
jne 0x4b76b1
mov dword [ebp - 0x30], vtable._com_error.0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call fcn.0045a530
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.004b3350
mov eax, dword [eax]
mov byte [ebp - 4], 4
test eax, eax
je 0x4b7663
mov eax, dword [eax]
jmp 0x4b7665
xor eax, eax
push eax
push dword [esi]
lea eax, [ebp - 0x14]
push str.error_loading_response_file_at__s:__s
push eax
call fcn.0045acb0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.0048cfa0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b76a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.0048d000
xor esi, esi
jmp 0x4b7808
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 5
mov ecx, dword [eax]
call dword [ecx + 0xb4]
cmp dword [edi + 0x2c], 0
je 0x4b7797
mov eax, dword [str.config_revision]
xor esi, esi
mov dword [ebp - 0x28], eax
mov eax, dword [str.config_url]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + esi*4 - 0x28]
lea ecx, [ebp - 0x14]
push ebx
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00512c10
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b772c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0045a3a0
mov ecx, dword [edi + 0x2c]
lea eax, [ebp - 0x20]
push 1
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.0045df90
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b776c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b778d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 2
jl 0x4b76e8
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x4b77df
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 7
call fcn.004e01b0
push dword [ebp - 0x10]
neg eax
mov ecx, edi
sbb eax, eax
and dword [ebp - 0x14], eax
mov eax, dword [edi]
call dword [eax + 0x48]
mov ecx, dword [edi + 0x3c]
lea eax, [ebp - 0x20]
push eax
push 7
mov dword [ebp - 0x20], 0
call fcn.004e01b0
push 0
mov ecx, edi
call fcn.005120b0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4b77f2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00511f00
mov eax, dword [ebp - 0x10]
mov esi, 1
mov byte [ebp - 4], 0
test eax, eax
je 0x4b7808
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4b781c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
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