Function at 0x480610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd838
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x53f030]
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 0x48065b
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 0x480645
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0x509790
push 0x17
push 0
push 0x5098b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x480697
xor esi, esi
jmp 0x4808d8
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.00441120
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 0x480781
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.0043a5b0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.0047db70
mov eax, dword [eax]
mov byte [ebp - 4], 4
test eax, eax
je 0x480733
mov eax, dword [eax]
jmp 0x480735
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.0043ad30
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00468890
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 0x480772
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.00462420
xor esi, esi
jmp 0x4808d8
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 0x480867
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.0043a420
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.004ca180
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 0x4807fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0043a420
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.0043df40
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 0x48083c
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 0x48085d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 2
jl 0x4807b8
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x4808af
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 7
call fcn.0049ac40
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.0049ac40
push 0
mov ecx, edi
call fcn.004c9620
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4808c2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.004c9470
mov eax, dword [ebp - 0x10]
mov esi, 1
mov byte [ebp - 4], 0
test eax, eax
je 0x4808d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4808ec
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