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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_4.0_
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x610], ecx
mov dword [ebp - 0x61c], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x62c], ebx
test ebx, ebx
je 0x4dcc2f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dc967
sub eax, edx
inc eax
push eax
call fcn.004fc6be
mov edi, eax
push 0x56d164
push esi
mov dword [ebp - 0x620], edi
call fcn.004ff5b7
add esp, 0xc
test eax, eax
je 0x4dc9b9
add eax, 2
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4dc998
push 0x551f88
push edi
call fcn.004ff5b7
add esp, 8
test eax, eax
je 0x4dc9b9
mov byte [eax], 0
jmp 0x4dc9bc
mov byte [edi], 0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dc9c1
sub eax, edx
je 0x4dcc0f
push 0
push 0
push 3
push 0
push 0x577fc8
push 0x50
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x624], esi
test esi, esi
je 0x4dcc08
push 0
push 0
push 0
push 0
push 0
push str._mgrsyscmdupdinf
push 0x55f9fc
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
mov dword [ebp - 0x618], ebx
test ebx, ebx
je 0x4dcbfb
mov eax, dword [ebp - 0x610]
lea edx, [eax + 1]
jmp 0x4dca30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dca30
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x614]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dca44
push edx
mov edx, dword [ebp - 0x610]
push edx
sub eax, esi
push eax
mov eax, dword [ebp - 0x614]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4dcbee
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x60c]
push eax
push 0x16
xor esi, esi
push ebx
mov dword [ebp - 0x628], 0x400
mov dword [ebp - 0x614], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea ecx, [ebp - 0x60c]
push str.200_OK
push ecx
call fcn.004fee10
add esp, 8
test eax, eax
je 0x4dcbee
push 0x105
lea edx, [ebp - 0x10c]
push esi
push edx
call fcn.005067df
add esp, 0xc
lea eax, [ebp - 0x610]
push eax
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push ebx
mov dword [ebp - 0x610], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4dcbd6
jmp 0x4dcb06
mov esi, dword [ebp - 0x630]
mov eax, dword [ebp - 0x610]
test eax, eax
je 0x4dcbdc
lea esi, [esi + eax + 1]
push esi
mov dword [ebp - 0x630], esi
call fcn.004fc6be
push esi
mov ebx, eax
push 0
push ebx
call fcn.005067df
mov esi, dword [ebp - 0x61c]
add esp, 0x10
test esi, esi
je 0x4dcb55
mov edx, ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4dcb42
push esi
call fcn.004fedfc
add esp, 4
lea eax, [ebp - 0x10c]
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dcb60
sub eax, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4dcb70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x105
mov ecx, eax
lea edx, [ebp - 0x10c]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x61c], ebx
call fcn.005067df
mov edx, dword [ebp - 0x618]
add esp, 0xc
lea eax, [ebp - 0x610]
push eax
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [ebp - 0x618]
mov edi, dword [ebp - 0x620]
test eax, eax
jne 0x4dcb00
mov eax, dword [ebp - 0x610]
push 0xa
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00500ffe
add esp, 0xc
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x624]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [ebp - 0x62c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call fcn.004fedfc
mov eax, dword [ebp - 0x61c]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret