Function at 0x425631
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x42fbb2
call fcn.0041f1a0
mov eax, 0x1ff8
call fcn.0041f1f0
mov eax, dword [0x440200]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp dword [ebx + 0x14], esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1ffc], eax
mov dword [ebp - 0x1ff8], ecx
je 0x4258ca
cmp dword [edi + 0x14], esi
je 0x4258ca
cmp dword [eax + 0x14], esi
je 0x4258ca
push edi
lea ecx, [ebp - 0x1fe8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [edi + 0x18], 8
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], esi
jb 0x4256a5
mov edi, dword [edi + 4]
jmp 0x4256a8
add edi, 4
cmp word [edi + eax*2 - 2], 0x5c
je 0x4256c1
push 0x4322f4
lea ecx, [ebp - 0x1fe8]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push dword [ebp - 0x1ffc]
lea eax, [ebp - 0x1fe8]
push eax
lea eax, [ebp - 0x1fcc]
push eax
mov dword [ebp - 0x1ff0], esi
mov dword [ebp - 0x1fec], esi
call fcn.00401837
add esp, 0xc
push esi
push esi
push esi
push esi
push 0x43534c
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
mov dword [ebp - 0x1ffc], eax
je 0x425788
cmp dword [ebx + 0x18], 8
jb 0x425711
mov ebx, dword [ebx + 4]
jmp 0x425714
add ebx, 4
push esi
push esi
push esi
push esi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, esi
mov dword [ebp - 0x1ff0], eax
je 0x425788
cmp dword [ebp - 0x1ff8], esi
je 0x425752
push esi
push dword [ebp - 0x1ff8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x425752
mov dword [ebp - 0x1fec], 0x3e3
jmp 0x425864
cmp dword [ebp - 0x1fb4], 8
mov eax, dword [ebp - 0x1fc8]
jae 0x425767
lea eax, [ebp - 0x1fc8]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x2004], eax
jne 0x425799
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fec], eax
jmp 0x42585c
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42580f
mov eax, dword [ebp - 0x1ff4]
cmp eax, esi
je 0x425850
xor edi, edi
cmp eax, esi
jbe 0x4257f6
push esi
lea ecx, [ebp - 0x2000]
push ecx
sub eax, edi
push eax
lea eax, [ebp + edi - 0x1fb0]
push eax
push dword [ebp - 0x2004]
mov dword [ebp - 0x2000], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, esi
je 0x425838
cmp dword [ebp - 0x2000], esi
je 0x425838
add edi, dword [ebp - 0x2000]
mov eax, dword [ebp - 0x1ff4]
cmp edi, eax
jb 0x4257b5
cmp dword [ebp - 0x1ff8], esi
je 0x42580f
push esi
push dword [ebp - 0x1ff8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425846
lea eax, [ebp - 0x1ff4]
push eax
push 0x1fa0
lea eax, [ebp - 0x1fb0]
push eax
push dword [ebp - 0x1ff0]
mov dword [ebp - 0x1ff4], esi
call ebx
cmp eax, esi
jne 0x4257a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fec], eax
jmp 0x425850
mov dword [ebp - 0x1fec], 0x3e3
push dword [ebp - 0x2004]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1fec], esi
je 0x425880
cmp dword [ebp - 0x1fb4], 8
mov eax, dword [ebp - 0x1fc8]
jae 0x425879
lea eax, [ebp - 0x1fc8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1ff0], esi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x425896
push dword [ebp - 0x1ff0]
call edi
cmp dword [ebp - 0x1ffc], esi
je 0x4258a6
push dword [ebp - 0x1ffc]
call edi
lea ecx, [ebp - 0x1fcc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fe8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x1fec]
jmp 0x4258cf
mov eax, 0x132b3a1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ef93
leave
ret