Function at 0x404ee0
Capabilities:
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 0x41f83e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8f0
mov eax, dword [0x428990]
push ebx
mov dword [esp + 0x8ec], eax
mov eax, dword [str.___n]
mov ebx, ecx
mov ecx, dword [0x4298d4]
push esi
mov dword [esp + 0x14], eax
push edi
add eax, 0x1f4
mov dword [esp + 0x1c], ecx
add ecx, 0xa
mov dword [esp + 0x20], eax
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x42df88]
push eax
push ecx
mov dword [ebx + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x3d8], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x3d9]
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 0x404f9a
mov edx, dword [ebx]
push 0x4235c4
push 0xd
call dword [edx + 8]
xor al, al
jmp 0x405824
mov eax, dword [ebx]
push 0x4235ac
push 0xd
call dword [eax + 8]
mov eax, dword [ebx + 0xec]
mov edi, 0x10
cmp eax, edi
jb 0x404fbd
mov ecx, dword [ebx + 0xd8]
jmp 0x404fc3
lea ecx, [ebx + 0xd8]
push 0
push 0
xor eax, eax
mov ax, word [ebx + 0xf0]
push 3
push 0x423397
push 0x423397
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 0x40500e
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebx]
push 0x423594
push 0xd
mov ecx, ebx
call dword [eax + 8]
xor al, al
jmp 0x405824
push str.updatetmp
call fcn.0040afb3
lea eax, [ebx + 0x9c]
push eax
mov ecx, str.updatetmp_
lea esi, [esp + 0x58]
call fcn.00406af0
mov ecx, dword [eax + 0x18]
add esp, 8
cmp ecx, edi
jb 0x40503c
mov eax, dword [eax + 4]
jmp 0x40503f
add eax, 4
push eax
call fcn.0040afb3
mov eax, dword [esp + 0x6c]
add esp, 4
cmp eax, edi
jb 0x40505d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0041747c
add esp, 4
xor eax, eax
mov byte [esp + 0x6e8], 0
mov ecx, 0x81
lea edi, [esp + 0x6e9]
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 0x405089
mov eax, dword [esi + 4]
jmp 0x40508c
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x6ec]
push str.updatetmp__s_filelist.list
push edx
call fcn.004099a6
add esp, 0xc
push 0xc
xor edi, edi
push str._1737update_
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.00406b90
push eax
mov edi, str._filelist.list
lea esi, [esp + 0x40]
mov byte [esp + 0x910], 1
call fcn.00402f30
add esp, 0xc
mov byte [esp + 0x904], 2
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x40510e
mov eax, dword [eax + 4]
jmp 0x405111
add eax, 4
lea ecx, [esp + 0x6e8]
push ecx
mov ecx, eax
mov esi, ebx
call fcn.004034c0
mov ecx, dword [esp + 0x4c]
neg al
sbb al, al
inc al
cmp ecx, edi
mov byte [esp + 0x13], al
jb 0x405145
mov edx, dword [esp + 0x38]
push edx
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
mov edx, dword [esp + 0x68]
xor ecx, ecx
cmp edx, edi
mov esi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ecx
mov byte [esp + 0x38], cl
jb 0x405173
mov eax, dword [esp + 0x54]
push eax
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x904], 0xffffffff
cmp dword [esp + 0x30], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ecx
mov byte [esp + 0x54], 0
jb 0x4051a4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
test al, al
je 0x405315
mov edi, 3
push edi
lea edx, [esp + 0x3dc]
push 0x423524
push edx
call fcn.004099a6
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [esp + 0x3d8]
push ecx
push 0xd
mov ecx, ebx
call dword [eax + 8]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
test edi, edi
jg 0x4051b1
push str._1737update_
lea ecx, [esp + 0x38]
call fcn.004023d0
lea ecx, [ebx + 0x9c]
push ecx
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x90c], 3
call fcn.00406b90
push eax
mov edi, str._filelist.list
lea esi, [esp + 0x5c]
mov byte [esp + 0x910], 4
call fcn.00402f30
add esp, 0xc
mov byte [esp + 0x904], 5
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x405245
mov eax, dword [eax + 4]
jmp 0x405248
add eax, 4
push str.updatetmp_filelist.list
mov ecx, eax
mov esi, ebx
call fcn.004034c0
mov ecx, dword [esp + 0x68]
neg al
sbb al, al
inc al
cmp ecx, edi
mov byte [esp + 0x13], al
jb 0x405279
mov edx, dword [esp + 0x54]
push edx
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
cmp dword [esp + 0x30], edi
mov esi, 0xf
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
jb 0x4052a6
mov eax, dword [esp + 0x1c]
push eax
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
mov dword [esp + 0x904], 0xffffffff
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
jb 0x4052d9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041747c
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x405313
mov edx, dword [ebx]
push 0x4234dc
push 0xd
mov ecx, ebx
call dword [edx + 8]
push 0xd
mov edx, 0xc8
mov eax, 0x190
mov ecx, 0x84
call fcn.00404d30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x405824
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x904], 6
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x6e8]
push eax
lea edi, [esp + 0x38]
mov byte [esp + 0x908], 7
call fcn.00405d10
lea ecx, [esp + 0x18]
push ecx
mov edx, edi
push edx
call fcn.00405850
lea eax, [esp + 0x18]
push eax
mov ecx, edi
push ecx
call fcn.00405f10
mov ecx, dword [0x4391e0]
test ecx, ecx
je 0x405383
mov eax, dword [0x4391e4]
sub eax, ecx
sar eax, 4
test eax, eax
ja 0x4053d0
mov edx, dword [ebx]
push 0x4234d0
push 0xd
mov ecx, ebx
call dword [edx + 8]
mov ecx, dword [0x42df88]
push 1
lea eax, [esp + 0x70]
push eax
push ecx
mov dword [esp + 0x78], 0x84
mov dword [esp + 0x7c], 0x190
mov dword [esp + 0x80], 0x14c
mov dword [esp + 0x84], 0x19d
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x405810
mov edx, dword [ebx]
push 0x4234bc
push 0xd
mov ecx, ebx
call dword [edx + 8]
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 + 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 + 0xc0], 0
mov ecx, 0x40
lea edi, [esp + 0xc1]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4391e0]
test ecx, ecx
stosw word es:[edi], ax
stosb byte es:[edi], al
jne 0x40543d
xor eax, eax
jmp 0x405447
mov eax, dword [0x4391e4]
sub eax, ecx
sar eax, 4
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], 0
mov edi, dword [0x4391e0]
cmp edi, dword [0x4391e4]
mov dword [esp + 0x14], edi
je 0x4057bd
lea ecx, [ecx]
mov eax, dword [edi + 4]
push eax
lea eax, [esp + 0xc4]
push 0x4234b8
push eax
call fcn.004099a6
mov eax, dword [edi]
push str.updatetmp
push eax
call fcn.0041429e
add esp, 0x14
test eax, eax
je 0x4057a9
lea ecx, [esp + 0xc0]
push str.winmm.dll
push ecx
call fcn.0041429e
add esp, 8
test eax, eax
je 0x4057a9
cmp dword [edi + 0xc], 1
mov eax, dword [edi]
push 0x4234a8
push eax
jne 0x405546
call fcn.0040a2a7
add esp, 8
test eax, eax
je 0x405518
push 0x4233b8
push edi
call fcn.004023b0
add esp, 8
test al, al
jne 0x405518
mov eax, dword [edi]
lea edx, [esp + 0xc0]
push edx
push eax
lea ecx, [esp + 0x5e8]
push str._s_s
push ecx
call fcn.004099a6
add esp, 0x10
lea ecx, [esp + 0x5e0]
call fcn.00403d40
jmp 0x40576c
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x5e4]
push 0x4234b8
push eax
call fcn.004099a6
add esp, 0xc
lea ecx, [esp + 0x5e0]
call fcn.00403d40
jmp 0x40576c
call fcn.0040a2a7
add esp, 8
test eax, eax
je 0x4055fd
push 0x4233b8
push edi
call fcn.004023b0
add esp, 8
test al, al
jne 0x4055fd
mov edi, dword [edi]
lea ecx, [esp + 0xc0]
push ecx
push edi
lea edx, [esp + 0x2d8]
push str._s_s
push edx
call fcn.004099a6
lea eax, [ebx + 0x9c]
push eax
mov ecx, str._1737update_
lea esi, [esp + 0x80]
call fcn.00406af0
push eax
mov edi, str._release__s__s
lea esi, [esp + 0x68]
mov byte [esp + 0x91c], 9
call fcn.00402f30
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
add esp, 0x18
cmp edx, 0x10
jb 0x4055ce
mov eax, dword [eax + 4]
jmp 0x4055d1
add eax, 4
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
lea eax, [esp + 0x1d4]
push eax
call fcn.004099a6
add esp, 0x10
lea ecx, [esp + 0x50]
call fcn.004012f0
lea ecx, [esp + 0x6c]
jmp 0x405688
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x2d4]
push 0x4234b8
push edx
call fcn.004099a6
lea eax, [ebx + 0x9c]
push eax
mov ecx, str._1737update_
lea esi, [esp + 0xb4]
call fcn.00406af0
push eax
mov edi, str._release__s
lea esi, [esp + 0x9c]
mov byte [esp + 0x918], 8
call fcn.00402f30
mov ecx, dword [eax + 0x18]
add esp, 0x14
cmp ecx, 0x10
jb 0x405659
mov eax, dword [eax + 4]
jmp 0x40565c
add eax, 4
lea ecx, [esp + 0xc0]
push ecx
push eax
lea edx, [esp + 0x1d0]
push edx
call fcn.004099a6
add esp, 0xc
lea ecx, [esp + 0x88]
call fcn.004012f0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x904], 7
call fcn.004012f0
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0x1cc]
mov esi, ebx
call fcn.004034c0
test al, al
jne 0x405748
mov esi, 3
jmp 0x4056c0
push esi
lea ecx, [esp + 0x3dc]
push 0x423458
push ecx
call fcn.004099a6
mov edx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0x3d8]
push eax
push 0xd
mov ecx, ebx
call dword [edx + 8]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
test esi, esi
jg 0x4056c0
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x1cc]
mov esi, ebx
call fcn.004034c0
test al, al
jne 0x405748
lea edx, [esp + 0x3d8]
push 0x423428
push edx
call fcn.004099a6
mov eax, dword [ebx]
add esp, 8
lea ecx, [esp + 0x3d8]
push ecx
push 0xd
mov ecx, ebx
call dword [eax + 8]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x14]
jmp 0x4057a9
lea edx, [esp + 0xc0]
push edx
push str.autoupdate.exe
call fcn.0041429e
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x40576c
mov byte [0x42e839], 1
mov ecx, dword [ebx + 0x94]
test ecx, ecx
jle 0x4057a3
mov eax, dword [ebx + 0x98]
inc eax
imul eax, eax, 0x2710
cdq
idiv ecx
mov ecx, dword [str.___n]
push 0xa
mov edx, 0x1f4
mov dword [ebx + 0x90], eax
mov eax, dword [0x4298d4]
call fcn.00404d30
inc dword [ebx + 0x98]
mov eax, dword [0x4391e4]
add edi, 0x10
cmp edi, eax
mov dword [esp + 0x14], edi
jne 0x405470
mov eax, dword [ebx]
push 0x4234d0
push 0xd
mov ecx, ebx
call dword [eax + 8]
mov ecx, dword [0x4298f0]
mov eax, dword [0x4298ec]
mov edx, dword [0x42df88]
mov dword [esp + 0x70], ecx
add ecx, 0xd
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.004063e0
lea ebx, [esp + 0x34]
call fcn.004063e0
mov al, 1
mov ecx, dword [esp + 0x8fc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8f4]
call fcn.0040b285
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret