Function at 0x404c70
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ce01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x426990]
mov ecx, dword [0x4278e4]
mov dword [esp + 0x264], eax
mov eax, dword [str.___n]
push esi
mov dword [esp + 8], eax
push edi
add eax, 0x1f4
mov dword [esp + 0x10], ecx
add ecx, 0xa
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x42bfa8]
push eax
xor esi, esi
push ecx
mov dword [ebx + 0x90], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x60], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
push esi
push esi
push esi
stosw word es:[edi], ax
push 1
push esi
stosb byte es:[edi], al
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebx + 4], eax
mov ecx, ebx
jne 0x404d1b
mov edx, dword [ebx]
push 0x42142c
push 0xd
call dword [edx + 8]
xor al, al
jmp 0x404eee
mov eax, dword [ebx]
push 0x421414
push 0xd
call dword [eax + 8]
cmp dword [ebx + 0xec], 0x10
jb 0x404d38
mov ecx, dword [ebx + 0xd8]
jmp 0x404d3e
lea ecx, [ebx + 0xd8]
push esi
push esi
xor eax, eax
mov ax, word [ebx + 0xf0]
push 3
push 0x42134f
push 0x42134f
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
mov dword [ebx + 8], eax
jne 0x404d87
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebx]
push 0x4213fc
push 0xd
mov ecx, ebx
call dword [eax + 8]
xor al, al
jmp 0x404eee
push str.updatetmp
call fcn.00408911
add esp, 4
push 0xc
push str._1737update_
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov byte [esp + 0x18], 0
call fcn.00402140
lea ecx, [ebx + 0x9c]
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x280], esi
push edx
lea esi, [esp + 0x4c]
call fcn.00405160
push eax
mov edi, str._filelist.list
lea esi, [esp + 0x34]
mov byte [esp + 0x288], 1
call fcn.00402ba0
add esp, 0xc
mov byte [esp + 0x27c], 2
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x404e04
mov eax, dword [eax + 4]
jmp 0x404e07
add eax, 4
push str.updatetmp_filelist.list
mov ecx, eax
mov esi, ebx
call fcn.00403320
mov ecx, dword [esp + 0x40]
neg al
sbb al, al
inc al
cmp ecx, edi
mov byte [esp + 0xb], al
jb 0x404e38
mov eax, dword [esp + 0x2c]
push eax
call fcn.00414c07
mov al, byte [esp + 0xf]
add esp, 4
mov ecx, dword [esp + 0x5c]
xor esi, esi
cmp ecx, edi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
jb 0x404e64
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00414c07
mov al, byte [esp + 0xf]
add esp, 4
mov dword [esp + 0x27c], 0xffffffff
cmp dword [esp + 0x24], edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
jb 0x404e97
mov edx, dword [esp + 0x10]
push edx
call fcn.00414c07
mov al, byte [esp + 0xf]
add esp, 4
test al, al
je 0x404eec
mov eax, dword [ebx]
push 0x42139c
push 0xd
mov ecx, ebx
call dword [eax + 8]
mov edx, dword [0x42bfa8]
push 1
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0x84
mov dword [esp + 0x1c], 0x190
mov dword [esp + 0x20], 0x14c
mov dword [esp + 0x24], 0x19d
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x404eee
mov al, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x26c]
call fcn.00408be3
pop edi
pop esi
mov esp, ebp
pop ebp
ret