Function at 0x432f04
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 0x4ab6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2228
call sub.ntdll.dll__chkstk
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 8], 0
je 0x432f39
cmp dword [ebp + 0xc], 0
jne 0x432f40
xor eax, eax
jmp 0x4331e5
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x1224], 0
mov dword [ebp - 0x14], 0
mov al, byte [0x542390]
mov byte [ebp - 0x121c], al
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x121b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x542394]
mov byte [ebp - 0x21c], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x542398]
mov byte [ebp - 0x118], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x121c]
push eax
lea ecx, [ebp - 0x1220]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432c70
add esp, 0x14
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2230], eax
cmp dword [ebp - 0x2230], 0
je 0x43318a
push 0
push 0
push 3
push 0
push 0
mov dx, word [ebp - 0x1220]
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x2230]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x222c], eax
cmp dword [ebp - 0x222c], 0
je 0x433173
mov dword [ebp - 0x2234], 0x4400040
push 0
mov edx, dword [ebp - 0x2234]
push edx
push 0
push 0
push 0x4dc7d0
lea eax, [ebp - 0x121c]
push eax
push 0x4dc7dc
mov ecx, dword [ebp - 0x222c]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1224], eax
cmp dword [ebp - 0x1224], 0
je 0x43315c
push 0xa0000000
push 0xd
push 0x4dc7e4
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433145
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x31
push 0x4dc7f4
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4330f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
jne 0x4330f0
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
je 0x433145
lea eax, [ebp - 0x2238]
push eax
push 0x1000
lea ecx, [ebp - 0x2228]
push ecx
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2238], 0
je 0x433141
mov eax, dword [ebp - 0x2238]
mov byte [ebp + eax - 0x2228], 0
lea ecx, [ebp - 0x2228]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409390
jmp 0x433143
jmp 0x433145
jmp 0x4330f0
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1224], 0
mov eax, dword [ebp - 0x222c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x222c], 0
mov ecx, dword [ebp - 0x2230]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2230], 0
jmp 0x4331db
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret