Function at 0x578211
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0x1a8
mov eax, 0x5fb8c9
call fcn.005e47d4
mov edi, ecx
cmp dword [edi + 0x6c], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x114], eax
je 0x57823e
xor al, al
jmp 0x578500
lea ecx, [ebp - 0x110]
call fcn.0057784c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
push dword [ebp - 0x114]
call fcn.00577bd5
test al, al
jne 0x57827c
and dword [edi + 0x48], 0
and dword [edi + 0x44], 0
xor bl, bl
mov byte [edi + 0x70], 1
mov dword [edi + 0x40], 0x194
jmp 0x5784ef
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0045e480
mov byte [ebp - 4], 1
xor edx, edx
mov ecx, edx
mov eax, edx
cmp dword [edi + 0x2c], edx
je 0x578300
push 0x20
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.005594a0
push 0xa
lea eax, [ebp - 0x30]
push eax
movsx eax, word [edi + 0x34]
push eax
call fcn.00554c60
add esp, 0x18
mov dword [ebp - 0x114], 3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x48]
push eax
call fcn.0045e4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
push 0xffffffffffffffff
push 0
push eax
call fcn.0045f770
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.0045fc60
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x114]
cmovae eax, dword [ebp - 0x60]
xor edx, edx
cmp dword [edi + 0x64], edx
jne 0x578338
cmp dword [esi + 0x10], 0
jne 0x57830e
lea esi, [edi + 4]
cmp dword [esi + 0x14], 0x10
jb 0x578316
mov esi, dword [esi]
push edx
push edx
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi + 0x64], eax
test eax, eax
je 0x5783ae
push 0x578801
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
lea esi, [edi + 0x38]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x48]
mov dword [edi + 0x3c], 1
push eax
lea ecx, [ebp - 0x110]
call fcn.00577f9e
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x578363
mov eax, dword [eax]
push esi
push 0x84000300
push 3
push 0
push 0x613930
push dword [ebp - 0xc4]
push eax
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi + 0x68], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.0045fc60
cmp dword [edi + 0x68], 0
jne 0x5783b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov dword [edi + 0xd4], eax
call fcn.00577a7a
xor bl, bl
jmp 0x5784df
push 0x578801
push dword [edi + 0x68]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
push 1
push 2
lea ecx, [ebp - 0x1b4]
call fcn.00473e00
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x110]
call fcn.00577f69
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x110]
call fcn.00577fd0
mov byte [ebp - 4], 6
push esi
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00467fc0
pop ecx
pop ecx
push eax
call fcn.00467fc0
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.0045fc60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0045fc60
and dword [ebp - 0x118], 0
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x11c], 0x613934
je 0x578457
cmp dword [ebx + 0x14], 0x10
jb 0x578459
mov ebx, dword [ebx]
jmp 0x578459
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00473fe0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x578474
mov eax, dword [eax]
lea ecx, [edi + 0x38]
push ecx
push 0x84000b00
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push eax
push ebx
push dword [edi + 0x68]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0x6c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0045fc60
cmp dword [edi + 0x6c], 0
jne 0x5784c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
mov dword [edi + 0xd4], eax
call fcn.00577a7a
xor bl, bl
jmp 0x5784c5
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.00473f60
lea ecx, [ebp - 0x164]
call fcn.0045cdc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
push 0
push 1
call fcn.0045fc60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.00577995
mov al, bl
call fcn.005e4783
ret 0xc