Function at 0x40c781
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, 0x499cbf
call fcn.00498a28
sub esp, 0x1c
xor edx, edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
lea ebx, [esi + 8]
mov dword [esi], edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
mov word [ebx + 0x78], dx
mov dword [ebx + 0x80], edx
mov dword [ebx + 0x84], edx
lea ecx, [esi + 0x90]
mov dword [ebp - 4], edx
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [esi + 0xa8]
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 2
push 0x4b2aa0
call fcn.00402788
lea ecx, [esi + 0xd8]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
mov byte [ecx], al
mov dword [esi + 0x114], eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x124]
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], 0x1000100
mov byte [esi + 0x120], al
push ecx
call fcn.0040ba8f
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 6
push ecx
call fcn.0040ba8f
lea ecx, [esi + 0x134]
call fcn.00403803
lea edi, [esi + 0x90]
mov byte [ebp - 4], 8
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_71.0.3202.75_Safari_537.36_MSETUP_
mov ecx, edi
mov dword [esi + 0x154], 0x64
call fcn.004070bd
push dword [ebp + 8]
mov ecx, edi
call fcn.0040e2b3
lea edi, [esi + 0xa8]
push str.Content_Type:_application_json
mov ecx, edi
call fcn.004070bd
push 0
push 6
xor edx, edx
pop ecx
call fcn.00402dd0
pop ecx
test al, al
je 0x40c8f3
push str._nAccept_Encoding:_gzip__deflate
mov ecx, edi
call fcn.00406489
call fcn.004400d0
mov dword [esi], eax
test eax, eax
je 0x40ca03
push ebx
push 0x2711
push eax
mov dword [ebx], eax
call fcn.00443160
push ebx
push 0x272d
push dword [esi]
call fcn.00443160
xor edi, edi
push edi
push 0x51
push dword [esi]
call fcn.00443160
push edi
push 0x40
push dword [esi]
call fcn.00443160
push edi
push 0x2751
push dword [esi]
call fcn.00443160
push 0x40c078
push 0x4e2b
push dword [esi]
call fcn.00443160
add esp, 0x48
push 0x40c327
push 0x4e6f
push dword [esi]
call fcn.00443160
push 1
push 0x34
push dword [esi]
call fcn.00443160
push 5
push 0x44
push dword [esi]
call fcn.00443160
push 7
push 0xa1
push dword [esi]
call fcn.00443160
push 0x1e
push 0xd
push dword [esi]
call fcn.00443160
push edi
push 0x2b
push dword [esi]
call fcn.00443160
add esp, 0x48
push 0x40c3d2
push 0x4efb
push dword [esi]
call fcn.00443160
push ebx
push 0x2749
push dword [esi]
call fcn.00443160
add esp, 0x18
lea edx, [esi + 0x90]
lea ecx, [ebp - 0x28]
call fcn.0041510b
cmp dword [eax + 0x14], 0xf
jbe 0x40c9d8
mov eax, dword [eax]
push eax
push 0x2722
push dword [esi]
call fcn.00443160
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00402fc0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push str.Cannt_initialize_cURL
lea ecx, [ebp - 0x1c]
call fcn.004037e8
push 0x4c810c
lea eax, [ebp - 0x1c]
push eax
call fcn.004718cd
int3