Function at 0x406210
Capabilities:
Create http request
Print debug messages
Read data from internet
Receive data

Disassembly:
sub esp, 0x324
mov eax, dword [0x42c2f0]
xor eax, esp
mov dword [esp + 0x320], eax
mov eax, dword [esp + 0x328]
push ebp
push esi
push edi
push 0x206
mov esi, ecx
lea ecx, [esp + 0x126]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov word [esp + 0x12c], 0
call fcn.00412200
add esp, 0xc
push 0
push 0
push 0
push 0
push str.Mixin_page
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x4062f6
lea esi, [esp + 0x120]
call fcn.00406540
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x42d890
call fcn.00406bc0
mov edx, esi
push edx
push str.MIXIN_TITLE_NOT_CONNECT_SERVER
push 0x42d874
call fcn.00406bc0
mov ecx, dword [0x42d894]
mov eax, 8
add esp, 0x14
cmp dword [0x42d8a8], eax
jae 0x4062ba
mov ecx, 0x42d894
cmp dword [0x42d88c], eax
mov eax, dword [0x42d878]
jae 0x4062cc
mov eax, 0x42d878
push 0x10
push ecx
push eax
mov eax, dword [0x42e548]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0040fbc6
add esp, 0x324
ret
push 0
push SysReAllocString
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
test ebp, ebp
jne 0x406398
lea esi, [esp + 0x120]
call fcn.00406540
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x42d890
call fcn.00406bc0
mov ecx, esi
push ecx
push str.MIXIN_TITLE_NOT_CONNECT_SERVER
push 0x42d874
call fcn.00406bc0
mov ecx, dword [0x42d894]
mov eax, 8
add esp, 0x14
cmp dword [0x42d8a8], eax
jae 0x40635b
mov ecx, 0x42d894
cmp dword [0x42d88c], eax
mov eax, dword [0x42d878]
jae 0x40636d
mov eax, 0x42d878
mov edx, dword [0x42e548]
push 0x10
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0040fbc6
add esp, 0x324
ret
push 0x103
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.00412200
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x104
lea edx, [esp + 0x20]
push edx
push ebp
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x406468
lea esi, [esp + 0x120]
call fcn.00406540
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x42d890
call fcn.00406bc0
mov eax, esi
push eax
push str.MIXIN_TITLE_NOT_CONNECT_SERVER
push 0x42d874
call fcn.00406bc0
mov ecx, dword [0x42d894]
mov eax, 8
add esp, 0x14
cmp dword [0x42d8a8], eax
jae 0x40641f
mov ecx, 0x42d894
cmp dword [0x42d88c], eax
mov eax, dword [0x42d878]
jae 0x406431
mov eax, 0x42d878
push 0x10
push ecx
mov ecx, dword [0x42e548]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0040fbc6
add esp, 0x324
ret
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push edi
call esi
lea edx, [esp + 0x18]
push str.xml_version_1.0__encoding_utf_8_
push edx
call fcn.0040fb40
add esp, 8
test eax, eax
jne 0x406505
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x42d890
call fcn.00406bc0
lea eax, [esp + 0x20]
push eax
push str.MIXIN_TITLE_NOT_CONNECT_SERVER
push 0x42d874
call fcn.00406bc0
mov ecx, dword [0x42d894]
mov eax, 8
add esp, 0x14
cmp dword [0x42d8a8], eax
jae 0x4064c8
mov ecx, 0x42d894
cmp dword [0x42d88c], eax
mov eax, dword [0x42d878]
jae 0x4064da
mov eax, 0x42d878
push 0x10
push ecx
mov ecx, dword [0x42e548]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0040fbc6
add esp, 0x324
ret
lea edx, [esp + 0x18]
push edx
call fcn.0040f630
mov ecx, dword [esp + 0x10]
push eax
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0040fbc6
add esp, 0x324
ret