Function at 0x410fb0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c1a7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a8
mov eax, dword [0x4ac068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x464], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x43c]
push 0x1e
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
push str.Content_Type:_application_json
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x428], 0
call fcn.00442ae0
push 0
push 0
push 0
push 1
push str.curl_equivalent_app
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x45c], esi
test esi, esi
je 0x411088
cmp dword [ebx + 0x1c], 8
lea ecx, [ebx + 8]
push 0
cmovae ecx, dword [ebx + 8]
push 0
push 3
push 0
push 0
push edi
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0x458], ecx
test ecx, ecx
jne 0x4111c3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, 1
mov ecx, dword [ebp - 0x428]
cmp ecx, 8
jb 0x4110cd
mov edx, dword [ebp - 0x43c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4110c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41149f
push ecx
push edx
call fcn.00464974
add esp, 8
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
cmp ecx, 8
jb 0x411124
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41111a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41149f
push ecx
push edx
call fcn.00464974
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 8
jb 0x411172
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411168
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41149f
push ecx
push edx
call fcn.00464974
add esp, 8
mov ecx, dword [ebx + 0x4c]
xor eax, eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 7
mov word [ebx + 0x20], ax
cmp ecx, 8
jb 0x41147f
mov edx, dword [ebx + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411475
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41149f
jmp 0x411475
cmp dword [ebx + 0x34], 8
lea eax, [ebx + 0x20]
push 0
cmovae eax, dword [ebx + 0x20]
push 0x3300
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x460], edi
test edi, edi
jne 0x41120f
push dword [ebp - 0x458]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x45c]
call esi
jmp 0x411088
lea ecx, [ebp - 0x4b8]
call fcn.00439450
mov esi, eax
mov byte [ebp - 4], 4
lea edx, [ebx + 0x38]
cmp dword [ebx + 0x4c], 8
mov ecx, dword [ebx + 0x48]
cmovae edx, dword [ebx + 0x38]
lea eax, [edx + ecx*2]
mov ecx, esi
push eax
push edx
lea eax, [ebp - 0x454]
push eax
call fcn.0043dcc0
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 6
call fcn.00439390
cmp dword [ebp - 0x440], 0x10
lea ecx, [ebp - 0x454]
push dword [ebp - 0x444]
cmovae ecx, dword [ebp - 0x454]
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
push ecx
push dword [ebp - 0x42c]
cmovae eax, dword [ebp - 0x43c]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
jne 0x411318
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 4
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x41c], 0x100
lea eax, [ebp - 0x41c]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [ebp - 0x440], 0x10
lea ecx, [ebp - 0x454]
push dword [ebp - 0x444]
cmovae ecx, dword [ebp - 0x454]
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
push ecx
push dword [ebp - 0x42c]
cmovae eax, dword [ebp - 0x43c]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
test esi, esi
jne 0x41133f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x458]
call esi
push dword [ebp - 0x45c]
call esi
mov esi, 1
jmp 0x41141f
lea eax, [ebp - 0x420]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411404
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x411404
push 0
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00439dd0
mov ecx, dword [ebp - 0x464]
mov edi, dword [ebp - 0x420]
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp edi, eax
ja 0x4113c1
lea eax, [edi + edx]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x4113a7
mov eax, dword [ecx]
lea esi, [eax + edx]
push edi
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00465ec0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4113dc
push edi
lea eax, [ebp - 0x418]
mov byte [ebp - 0x424], 0
push eax
push dword [ebp - 0x424]
push edi
call fcn.00442b80
mov edi, dword [ebp - 0x460]
lea eax, [ebp - 0x420]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x411361
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x458]
call esi
push dword [ebp - 0x45c]
call esi
xor esi, esi
mov ecx, dword [ebp - 0x440]
cmp ecx, 0x10
jb 0x411455
mov edx, dword [ebp - 0x454]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41144b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41149f
push ecx
push edx
call fcn.00464974
add esp, 8
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
jmp 0x41108d
push ecx
push edx
call fcn.00464974
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464482
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0046d7bc
int3