Function at 0x4053d0
Capabilities:
Check if file exists
Connect to http server
Create http request
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41fd18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f0
mov eax, dword [0x429990]
mov ecx, dword [0x42a8d4]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x8ec], eax
mov eax, dword [0x42a8cc]
push esi
mov dword [esp + 0x14], eax
push edi
add eax, 0x1f4
mov dword [esp + 0x1c], ecx
add ecx, 0x14
mov dword [esp + 0x20], eax
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x42ef88]
push eax
push ecx
mov dword [ebx + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x6e8], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x6e9]
rep stosd dword es:[edi], eax
push 0
push 0
push 0
stosw word es:[edi], ax
push 1
push 0
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [ebx + 4], eax
mov ecx, ebx
jne 0x40548b
mov edx, dword [ebx]
push 0x4245c4
push 0xd
call dword [edx + 8]
xor al, al
jmp 0x405b9d
mov eax, dword [ebx]
push 0x4245ac
push 0xd
call dword [eax + 8]
mov eax, dword [ebx + 0xec]
mov edi, 0x10
cmp eax, edi
jb 0x4054ae
mov ecx, dword [ebx + 0xd8]
jmp 0x4054b4
lea ecx, [ebx + 0xd8]
push 0
push 0
xor eax, eax
mov ax, word [ebx + 0xf0]
push 3
push 0x42440f
push 0x42440f
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [ebx + 8], eax
jne 0x4054ff
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebx]
push 0x424594
push 0xd
mov ecx, ebx
call dword [eax + 8]
xor al, al
jmp 0x405b9d
push str.updatetmp
call fcn.0040b3c1
lea eax, [ebx + 0x9c]
push eax
mov ecx, str.updatetmp_
lea esi, [esp + 0x58]
call fcn.00406e20
mov ecx, dword [eax + 0x18]
add esp, 8
cmp ecx, edi
jb 0x40552d
mov eax, dword [eax + 4]
jmp 0x405530
add eax, 4
push eax
call fcn.0040b3c1
mov eax, dword [esp + 0x6c]
add esp, 4
cmp eax, edi
jb 0x40554e
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041794e
add esp, 4
xor eax, eax
mov byte [esp + 0x4e0], 0
mov ecx, 0x81
lea edi, [esp + 0x4e1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebx + 0x9c]
stosb byte es:[edi], al
cmp dword [esi + 0x18], 0x10
jb 0x40557a
mov eax, dword [esi + 4]
jmp 0x40557d
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x4e4]
push str.updatetmp__s_filelist.list
push edx
call fcn.00409cd6
add esp, 0xc
push 0xa
xor edi, edi
push str._UCupdate_
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.004017f0
push esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x58]
mov dword [esp + 0x90c], edi
call fcn.00406ec0
push eax
mov edi, str._filelist.list
lea esi, [esp + 0x40]
mov byte [esp + 0x910], 1
call fcn.004033f0
add esp, 0xc
mov byte [esp + 0x904], 2
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x4055ff
mov eax, dword [eax + 4]
jmp 0x405602
add eax, 4
lea ecx, [esp + 0x4e0]
push ecx
mov ecx, eax
mov esi, ebx
call fcn.00403980
mov ecx, dword [esp + 0x4c]
neg al
sbb al, al
inc al
cmp ecx, edi
mov byte [esp + 0x13], al
jb 0x405636
mov edx, dword [esp + 0x38]
push edx
call fcn.0041794e
mov al, byte [esp + 0x17]
add esp, 4
mov ecx, dword [esp + 0x68]
xor esi, esi
cmp ecx, edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
jb 0x405662
mov eax, dword [esp + 0x54]
push eax
call fcn.0041794e
mov al, byte [esp + 0x17]
add esp, 4
mov dword [esp + 0x904], 0xffffffff
cmp dword [esp + 0x30], edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
jb 0x405695
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0041794e
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x4056ae
mov edx, dword [ebx]
push 0x424520
push 0xd
mov ecx, ebx
call dword [edx + 8]
xor al, al
jmp 0x405b9d
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x904], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x4e0]
push eax
lea edi, [esp + 0x38]
mov byte [esp + 0x908], 4
call fcn.00406080
lea ecx, [esp + 0x18]
push ecx
mov edx, edi
push edx
call fcn.00405bc0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
push ecx
call fcn.00406240
mov ecx, dword [0x43a1e0]
cmp ecx, esi
je 0x40571c
mov eax, dword [0x43a1e4]
sub eax, ecx
sar eax, 4
cmp eax, esi
ja 0x405745
mov edx, dword [ebx]
push 0x424514
push 0xd
mov ecx, ebx
call dword [edx + 8]
push 0x14
mov edx, 0xc8
mov eax, 0x190
mov ecx, 0x84
call fcn.004051a0
jmp 0x405b89
mov eax, dword [ebx]
push 0x424500
push 0xd
mov ecx, ebx
call dword [eax + 8]
xor eax, eax
mov byte [esp + 0x2d0], 0
mov ecx, 0x40
lea edi, [esp + 0x2d1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x1c8], 0
mov ecx, 0x40
lea edi, [esp + 0x1c9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0xc0], 0
mov ecx, 0x40
lea edi, [esp + 0xc1]
rep stosd dword es:[edi], eax
mov ecx, dword [0x43a1e0]
cmp ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
jne 0x4057b2
xor eax, eax
jmp 0x4057bc
mov eax, dword [0x43a1e4]
sub eax, ecx
sar eax, 4
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], esi
mov ebx, dword [0x43a1e0]
cmp ebx, dword [0x43a1e4]
je 0x405b35
lea ebx, [ebx]
mov eax, dword [ebx + 4]
push eax
lea ecx, [esp + 0xc4]
push 0x424038
push ecx
call fcn.00409cd6
mov eax, dword [ebx]
push str.updatetmp
push eax
call fcn.0041475e
add esp, 0x14
test eax, eax
je 0x405b25
lea edx, [esp + 0xc0]
push str.winmm.dll
push edx
call fcn.0041475e
add esp, 8
test eax, eax
je 0x405b25
cmp dword [ebx + 0xc], 1
mov eax, dword [ebx]
push 0x4244f0
push eax
jne 0x4058c0
call fcn.0040a767
add esp, 8
test eax, eax
je 0x40588f
push 0x424430
push ebx
call fcn.00402800
add esp, 8
test al, al
jne 0x40588f
mov ecx, dword [ebx]
lea eax, [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x3e0]
push str._s_s
push edx
call fcn.00409cd6
add esp, 0x10
lea ecx, [esp + 0x3d8]
call fcn.00404200
mov esi, dword [ebp + 8]
jmp 0x405ae8
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x3dc]
push 0x424038
push ecx
call fcn.00409cd6
add esp, 0xc
lea ecx, [esp + 0x3d8]
call fcn.00404200
mov esi, dword [ebp + 8]
jmp 0x405ae8
call fcn.0040a767
add esp, 8
test eax, eax
je 0x405975
push 0x424430
push ebx
call fcn.00402800
add esp, 8
test al, al
jne 0x405975
mov eax, dword [ebx]
lea edx, [esp + 0xc0]
push edx
push eax
lea eax, [esp + 0x1d0]
push str._s_s
push eax
call fcn.00409cd6
mov eax, dword [ebp + 8]
add eax, 0x9c
push eax
mov ecx, str._UCupdate_
lea esi, [esp + 0x80]
call fcn.00406e20
push eax
mov edi, str._release__s__s
lea esi, [esp + 0x68]
mov byte [esp + 0x91c], 6
call fcn.004033f0
mov edx, dword [eax + 0x18]
mov ecx, dword [ebx]
add esp, 0x18
cmp edx, 0x10
jb 0x405946
mov eax, dword [eax + 4]
jmp 0x405949
add eax, 4
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
lea eax, [esp + 0x2dc]
push eax
call fcn.00409cd6
add esp, 0x10
lea ecx, [esp + 0x50]
call fcn.004012f0
lea ecx, [esp + 0x6c]
jmp 0x405a02
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x1cc]
push 0x424038
push edx
call fcn.00409cd6
mov eax, dword [ebp + 8]
add eax, 0x9c
push eax
mov ecx, str._UCupdate_
lea esi, [esp + 0xb4]
call fcn.00406e20
push eax
mov edi, str._release__s
lea esi, [esp + 0x9c]
mov byte [esp + 0x918], 5
call fcn.004033f0
mov ecx, dword [eax + 0x18]
add esp, 0x14
cmp ecx, 0x10
jb 0x4059d3
mov eax, dword [eax + 4]
jmp 0x4059d6
add eax, 4
lea ecx, [esp + 0xc0]
push ecx
push eax
lea edx, [esp + 0x2d8]
push edx
call fcn.00409cd6
add esp, 0xc
lea ecx, [esp + 0x88]
call fcn.004012f0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x904], 4
call fcn.004012f0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x2d4]
call fcn.00403980
test al, al
jne 0x405a55
lea ecx, [esp + 0x6e8]
push 0x42449c
push ecx
call fcn.00409cd6
mov edx, dword [esi]
add esp, 8
lea eax, [esp + 0x6e8]
push eax
push 0xd
mov ecx, esi
call dword [edx + 8]
jmp 0x405b25
lea ecx, [esp + 0x14]
call fcn.004011f0
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0x18]
push 0x424038
push edx
mov byte [esp + 0x910], 7
call fcn.004027e0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x405ab7
or ecx, 0xffffffff
lea eax, [esp + 0x1c8]
call fcn.00405350
cmp dword [ebx + 8], eax
je 0x405ab7
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0x2d4]
call fcn.00403980
lea edx, [esp + 0xc0]
push edx
push str.autoupdate.exe
call fcn.0041475e
add esp, 8
test eax, eax
jne 0x405ad7
mov byte [0x42f839], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x904], 4
call fcn.00401410
mov ecx, dword [esi + 0x94]
test ecx, ecx
jle 0x405b1f
mov eax, dword [esi + 0x98]
inc eax
imul eax, eax, 0x2710
cdq
idiv ecx
mov ecx, dword [0x42a8cc]
push 0x14
mov edx, 0x1f4
mov dword [esi + 0x90], eax
mov eax, dword [0x42a8d4]
call fcn.004051a0
inc dword [esi + 0x98]
mov eax, dword [0x43a1e4]
add ebx, 0x10
cmp ebx, eax
jne 0x4057e0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 0x424514
push 0xd
call dword [eax + 8]
mov ecx, dword [0x42a8f0]
mov eax, dword [0x42a8ec]
mov edx, dword [0x42ef88]
mov dword [esp + 0x70], ecx
add ecx, 0x14
mov dword [esp + 0x78], ecx
push 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], eax
push ecx
add eax, 0xc8
push edx
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [esp + 0x18]
call fcn.00406710
lea ebx, [esp + 0x34]
call fcn.00406710
mov al, 1
mov ecx, dword [esp + 0x8fc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8f4]
call fcn.0040b693
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4