Function at 0x433c34
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 0x4a6b10
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 0x433c69
cmp dword [ebp + 0xc], 0
jne 0x433c70
xor eax, eax
jmp 0x433f15
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x1224], 0
mov dword [ebp - 0x14], 0
mov al, byte [0x547140]
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 [0x547144]
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 [0x547148]
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.004339a0
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 0x433eba
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 0x433ea3
mov dword [ebp - 0x2234], 0x4400040
push 0
mov edx, dword [ebp - 0x2234]
push edx
push 0
push 0
push 0x4daf6c
lea eax, [ebp - 0x121c]
push eax
push 0x4daf78
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 0x433e8c
push 0xa0000000
push 0xd
push 0x4daf80
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 0x433e75
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x31
push 0x4daf90
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 0x433e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
jne 0x433e20
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
je 0x433e75
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 0x433e71
mov eax, dword [ebp - 0x2238]
mov byte [ebp + eax - 0x2228], 0
lea ecx, [ebp - 0x2228]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409500
jmp 0x433e73
jmp 0x433e75
jmp 0x433e20
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 0x433f0b
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