Function at 0x437af4
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 0x4acb30
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 0x437b29
cmp dword [ebp + 0xc], 0
jne 0x437b30
xor eax, eax
jmp 0x437dd5
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x1224], 0
mov dword [ebp - 0x14], 0
mov al, byte [0x54fc80]
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 [0x54fc84]
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 [0x54fc88]
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.00437860
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 0x437d7a
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 0x437d63
mov dword [ebp - 0x2234], 0x4400040
push 0
mov edx, dword [ebp - 0x2234]
push edx
push 0
push 0
push 0x4e1a7c
lea eax, [ebp - 0x121c]
push eax
push 0x4e1a88
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 0x437d4c
push 0xa0000000
push 0xd
push 0x4e1a90
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 0x437d35
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x31
push 0x4e1aa0
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 0x437ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
jne 0x437ce0
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
je 0x437d35
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 0x437d31
mov eax, dword [ebp - 0x2238]
mov byte [ebp + eax - 0x2228], 0
lea ecx, [ebp - 0x2228]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409470
jmp 0x437d33
jmp 0x437d35
jmp 0x437ce0
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 0x437dcb
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