Function at 0x4252d0
Capabilities:
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2130
call fcn.00436d20
mov eax, dword [0x45d520]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2130], ecx
push 0x452300
mov ecx, dword [ebp - 0x2130]
add ecx, 0x4f0
call fcn.00401960
push eax
call fcn.00427b70
add esp, 8
test eax, eax
jne 0x4253c1
push 0x452308
mov ecx, dword [ebp - 0x2130]
add ecx, 0x4f0
call fcn.00401960
push eax
call fcn.00427b70
add esp, 8
test eax, eax
jne 0x425391
mov eax, dword [ebp - 0x2130]
add eax, 0x5c8
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x45230c
mov ecx, dword [ebp - 0x2130]
add ecx, 0x5c8
push ecx
call fcn.00436000
add esp, 8
mov ecx, dword [ebp - 0x2130]
add ecx, 0x4f0
call fcn.00401960
push eax
mov edx, dword [ebp - 0x2130]
add edx, 0x5c8
push edx
call fcn.00436000
add esp, 8
jmp 0x4253b7
mov ecx, dword [ebp - 0x2130]
add ecx, 0x4f0
call fcn.00401960
push eax
mov eax, dword [ebp - 0x2130]
add eax, 0x5c8
push eax
call fcn.00435ff0
add esp, 8
mov eax, 1
jmp 0x4255c4
mov dword [ebp - 4], 0
jmp 0x4253d3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 5
jge 0x42541e
push 0
push 0x10
push 0x104
mov edx, dword [ebp - 0x2130]
add edx, 0x5c8
push edx
mov ecx, dword [ebp - 0x2130]
add ecx, 0x4f0
call fcn.00401960
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileA
test eax, eax
jne 0x42541c
mov ecx, dword [ebp - 0x2130]
call fcn.004255e0
jmp 0x4255c4
jmp 0x4253ca
mov ecx, dword [ebp - 0x2130]
add ecx, 0x50c
call fcn.004087f0
movzx eax, al
test eax, eax
jne 0x4255c2
push 0
push 0x10
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x2130]
add ecx, 0x50c
call fcn.00401960
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileA
test eax, eax
jne 0x4255c2
mov edx, dword [ebp - 0x2130]
add edx, 0x5c8
mov dword [ebp - 0x114], edx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x111c], eax
mov ecx, dword [ebp - 0x111c]
push ecx
push 0x1000
lea edx, [ebp - 0x1118]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
lea eax, [ebp - 0x1118]
mov dword [ebp - 0x1120], eax
jmp 0x4254cd
mov ecx, dword [ebp - 0x1120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x1120]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x1120], eax
mov ecx, dword [ebp - 0x1120]
movsx edx, byte [ecx]
test edx, edx
je 0x4255c2
mov eax, dword [ebp - 0x111c]
push eax
push 0x1000
lea ecx, [ebp - 0x2120]
push ecx
mov edx, dword [ebp - 0x1120]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x2120]
mov dword [ebp - 0x2124], eax
jmp 0x425529
mov ecx, dword [ebp - 0x2124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x2124]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x2124], eax
mov ecx, dword [ebp - 0x2124]
movsx edx, byte [ecx]
test edx, edx
je 0x4255bd
mov eax, dword [ebp - 0x2124]
mov dword [ebp - 0x212c], eax
mov dword [ebp - 0x2128], 0
jmp 0x425561
mov ecx, dword [ebp - 0x2124]
add ecx, 1
mov dword [ebp - 0x2124], ecx
mov edx, dword [ebp - 0x2124]
movsx eax, byte [edx]
test eax, eax
je 0x425596
mov ecx, dword [ebp - 0x2124]
movsx edx, byte [ecx]
cmp edx, 0x3d
jne 0x425594
mov eax, dword [ebp - 0x2124]
mov byte [eax], 0
mov ecx, dword [ebp - 0x2124]
add ecx, 1
mov dword [ebp - 0x2128], ecx
jmp 0x425552
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x2128]
push eax
mov ecx, dword [ebp - 0x212c]
push ecx
mov edx, dword [ebp - 0x1120]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x42550c
jmp 0x4254b0
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00433b5e
mov esp, ebp
pop ebp
ret