Function at 0x419860
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
push 0xffffffffffffffff
push 0x43dd40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2218
call fcn.0043abc0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x419a83
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x419a83
mov dl, byte [0x451020]
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1223]
mov byte [ebp - 0x1224], dl
mov byte [ebp - 0x120], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
mov byte [ebp - 0x224], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
lea edx, [ebp - 0x120]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1224]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x224]
push edx
push eax
push ebx
xor esi, esi
call fcn.00419630
add esp, 0x14
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x419a70
mov ecx, dword [ebp - 0x18]
push esi
push esi
push 3
push esi
push esi
lea edx, [ebp - 0x120]
push ecx
push edx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x419a53
push esi
push 0x4400040
push esi
push esi
lea ecx, [ebp - 0x1224]
push str.HTTP_1.0
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
je 0x419a49
push 0xa0000000
push 0xd
push str.Accept:___r_n
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov esi, eax
test esi, esi
je 0x419a42
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, eax
test esi, esi
jne 0x4199c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
jne 0x4199c7
mov esi, 1
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
test esi, esi
je 0x419a3f
lea ecx, [ebp + 0xc]
lea edx, [ebp - 0x2228]
push ecx
push 0x1000
push edx
push edi
call ebx
mov esi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x419a3f
mov ecx, dword [ebp + 0x14]
mov byte [ebp + eax - 0x2228], 0
lea eax, [ebp - 0x2228]
push eax
call fcn.0043a834
jmp 0x4199cd
mov ebx, dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret