Function at 0x100039c3
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request
Send http request with host header

Disassembly:
push 0x4a0
mov eax, 0x100eee1c
call fcn.100deb00
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x4ac], ebx
mov edi, 0x3ff
push edi
lea eax, [ebp - 0x413]
push ebx
mov dword [ebp - 4], 3
push eax
mov byte [ebp - 0x414], bl
call fcn.100ab9a0
mov ecx, dword [ebp - 0x49c]
xor esi, esi
inc esi
add esp, 0xc
mov dword [ebp - 0x4a0], esi
call fcn.10002d18
lea ecx, [ebp - 0x494]
mov dword [ebp - 0x4ac], esi
call fcn.10002d18
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 4
mov dword [ebp - 0x498], ebx
call fcn.1000315c
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 5
call fcn.1000315c
push ebx
push ebx
push ebx
push esi
push str.interall
mov byte [ebp - 4], 6
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4a8], eax
cmp eax, ebx
jne 0x10003ad3
push 3
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 7
call fcn.1000304d
push ebx
push esi
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 6
call fcn.100031be
lea ecx, [ebp - 0x434]
call fcn.10002740
lea ecx, [ebp - 0x454]
call fcn.10082ce0
push eax
lea eax, [ebp - 0x474]
push str.InternetOpenA_failed__s
push eax
call fcn.10086430
add esp, 0xc
jmp 0x10003d11
cmp dword [ebp + 0x24], 0x10
mov ecx, dword [ebp + 0x10]
jae 0x10003adf
lea ecx, [ebp + 0x10]
push ebx
push ebx
push 3
mov eax, 0x1012a759
push eax
push eax
push ebx
push ecx
push dword [ebp - 0x4a8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x4a4], eax
cmp eax, ebx
jne 0x10003b69
push 3
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 8
call fcn.1000304d
push ebx
push esi
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 6
call fcn.100031be
lea ecx, [ebp - 0x434]
call fcn.10002740
lea ecx, [ebp - 0x454]
call fcn.10082ce0
push eax
push 0x1012afdc
lea eax, [ebp - 0x474]
push eax
call fcn.10086430
add esp, 0xc
jmp 0x10003ce3
cmp dword [ebp + 0x44], 0x10
mov ecx, dword [ebp + 0x30]
jae 0x10003b75
lea ecx, [ebp + 0x30]
push esi
push 0x4000000
push ebx
push ebx
push ebx
push ecx
push 0x1012b014
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x498], eax
cmp eax, ebx
jne 0x10003bed
push 3
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 9
call fcn.1000304d
push ebx
push esi
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 6
call fcn.100031be
lea ecx, [ebp - 0x434]
call fcn.10002740
lea ecx, [ebp - 0x454]
call fcn.10082ce0
push eax
push str.HttpOpenRequestA_failed__s
jmp 0x10003b55
push str.Content_Type:_application_x_www_form_urlencoded_r_n_r_n
lea ecx, [ebp - 0x494]
call fcn.100014d8
cmp dword [ebp + 0x64], 0x10
mov ecx, dword [ebp + 0x50]
jae 0x10003c09
lea ecx, [ebp + 0x50]
cmp dword [ebp - 0x47c], 0x10
mov eax, dword [ebp - 0x490]
jae 0x10003c1e
lea eax, [ebp - 0x490]
push dword [ebp + 0x60]
push ecx
push dword [ebp - 0x480]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10003c91
push 3
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0xa
call fcn.1000304d
push ebx
push esi
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 6
call fcn.100031be
lea ecx, [ebp - 0x434]
call fcn.10002740
lea ecx, [ebp - 0x454]
call fcn.10082ce0
push eax
push str.HttpSendRequestA_failed__s
jmp 0x10003b55
push 0x400
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.100ab9a0
add esp, 0xc
lea eax, [ebp - 0x4a0]
push eax
push edi
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x498]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x4a0], ebx
je 0x10003ce3
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x414]
push eax
call fcn.10002600
cmp dword [ebp - 0x4a0], ebx
jne 0x10003c91
push dword [ebp - 0x4a8]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
cmp dword [ebp - 0x4a4], ebx
je 0x10003d01
push dword [ebp - 0x4a4]
call edi
cmp dword [ebp - 0x498], ebx
je 0x10003d11
push dword [ebp - 0x498]
call edi
push str.CHttp::Post_
push esi
push dword [0x101466d8]
call fcn.100814a0
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x24], 0x10
jae 0x10003d31
lea eax, [ebp + 0x10]
push eax
push str._host:_s
push esi
push dword [0x101466d8]
call fcn.100814a0
mov eax, dword [ebp + 0x30]
add esp, 0x10
cmp dword [ebp + 0x44], 0x10
jae 0x10003d52
lea eax, [ebp + 0x30]
push eax
push str._interface:_s
push esi
push dword [0x101466d8]
call fcn.100814a0
mov eax, dword [ebp + 0x50]
add esp, 0x10
cmp dword [ebp + 0x64], 0x10
jae 0x10003d73
lea eax, [ebp + 0x50]
push eax
push str._param:_s
push esi
push dword [0x101466d8]
call fcn.100814a0
add esp, 0x10
lea ecx, [ebp - 0x474]
call fcn.100825c0
test al, al
je 0x10003dbf
mov edi, dword [ebp - 0x49c]
cmp dword [edi + 0x18], 0x10
jb 0x10003da8
mov eax, dword [edi + 4]
jmp 0x10003dab
lea eax, [edi + 4]
push eax
push str._result:_s
push esi
push dword [0x101466d8]
call fcn.100814a0
jmp 0x10003dec
cmp dword [ebp - 0x45c], 8
mov eax, dword [ebp - 0x470]
jae 0x10003dd4
lea eax, [ebp - 0x470]
push eax
push str._error:_s
push esi
push dword [0x101466d8]
call fcn.100814a0
mov edi, dword [ebp - 0x49c]
add esp, 0x10
push 0x1012b104
push esi
push dword [0x101466d8]
call fcn.100814a0
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 5
call fcn.100031be
lea ecx, [ebp - 0x454]
call fcn.10002740
push ebx
push esi
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 4
call fcn.100031be
lea ecx, [ebp - 0x474]
call fcn.10002740
push ebx
push esi
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 3
call fcn.100015c0
lea ecx, [ebp - 0x494]
call fcn.10002740
push ebx
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.100015c0
lea ecx, [ebp + 0xc]
call fcn.10002740
push ebx
push esi
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 1
call fcn.100015c0
lea ecx, [ebp + 0x2c]
call fcn.10002740
push ebx
push esi
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], bl
call fcn.100015c0
lea ecx, [ebp + 0x4c]
call fcn.10002740
mov eax, edi
call fcn.100deb60
ret 0x64