Function at 0x48ab30
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x5c7797
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
call fcn.00406f60
push esi
push 0x489c10
lea ecx, [esp + 0x2c]
mov dword [esp + 0x150], 0
call fcn.00406ec0
mov eax, dword [esi + 0x414]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [esi + 0x418]
sub eax, 0x10
push eax
call fcn.00403250
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push 0x5c
mov ebx, 1
push ebp
mov byte [esp + 0x154], bl
call fcn.00588a63
add esp, 0xc
test eax, eax
je 0x48ac15
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
je 0x48ac15
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00489ef0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.00404490
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x148], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ac11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48ac28
push ebp
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [esi + 0x418]
mov ecx, dword [esi + 0x414]
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileW
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x428], ecx
test eax, eax
jne 0x48ad83
mov edx, dword [esi + 0x420]
cmp dword [edx - 0xc], eax
je 0x48ad83
mov eax, dword [esi + 0x418]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0048a8a0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push 0
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 3
call fcn.00418b90
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 4
call fcn.00405b50
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x48acc7
push eax
call fcn.005849dc
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x148], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48acee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x420]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.005893a6
add esp, 8
test eax, eax
jne 0x48ad50
mov eax, dword [esi + 0x418]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.Config.dll_Ordinal_13]
lea edx, [ecx + ecx]
push edx
push eax
push ebx
push str.UpdateFile
push 0x5d2de4
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, dword [esi + 0x41c]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push ebx
push str.UpdateVer
push 0x5d2de4
push reloc.OLEAUT32.dll_SysReAllocString
call edi
add esp, 0x30
jmp 0x48ad63
mov dword [esi + 0x428], ebx
mov esi, dword [esi + 0x418]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ad83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x148], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ada7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x148], 0xffffffff
call fcn.00406e10
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret