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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158f88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 1
mov eax, 1
test eax, eax
je 0x101314bd
lea ecx, [ebp + 0x24]
call fcn.1000c9b0
push eax
lea ecx, [ebp + 0xc]
call fcn.1000c9b0
push eax
push str.url___s_nparam___s_n
lea ecx, [ebp - 0x28]
push ecx
call fcn.1007b6f0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000c9b0
push eax
push 1
push 0x5f
push 0x10180804
push 0x10180988
call fcn.101426f0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000cd00
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x101314f3
mov byte [ebp - 0x3a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000cd00
mov al, byte [ebp - 0x3a]
jmp 0x1013187e
mov dword [ebp - 0x30], 0
xor edx, edx
je 0x10131595
push str.User_Agent:Mozilla_5.0__Windows_NT__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_58.0.3029.110_Safari_537.36
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Connection:keep_alive
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Cache_Control:max_age0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Origin:https:__accounts.google.com
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Upgrade_Insecure_Requests:_1
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Accept:text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
push str.Referer:https:__accounts.google.com_embedded_setup_chromeos_identifier_flowNameEmbeddedSetupChromeOsresponse_typecode
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0
jmp 0x101315a7
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x38]
call fcn.1007c220
cmp dword [ebp - 0x44], eax
jae 0x101315da
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.1007c7a0
mov ecx, eax
call fcn.1000c9b0
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.libcurl.dll_curl_slist_append]
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x1013159e
mov ecx, dword [ebp - 0x30]
push ecx
push 0x2727
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.1000c9b0
push eax
push 0x2712
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 1
push 0x34
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
push 0x2711
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0x101311e0
push 0x4e2b
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
push 0x272d
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0x101312c0
push 0x4e6f
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 1
push 0x29
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0x1015f10f
push 0x272f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x101316d4
push 1
push 0x2f
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
lea ecx, [ebp + 0x24]
call fcn.1000c9b0
push eax
push 0x271f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
jmp 0x101316e5
push 1
push 0x50
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
lea ecx, [ebp + 0x24]
call fcn.10002460
push eax
push 0x3c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.10002460
test eax, eax
jbe 0x1013172a
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.1000c9b0
push eax
push 0x2714
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0x1d4c0
push 0x9b
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0
push 0x40
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
push 0
push 0x51
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.libcurl.dll_curl_easy_setopt]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
push str.curl_easy_perform__ret:__d
push 1
push 0xab
push 0x10180adc
push 0x10180ac4
call fcn.101426f0
add esp, 0x18
mov eax, dword [ebp - 0x38]
add eax, 0x24
push eax
push 0x200002
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_getinfo]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x31], 0
cmp dword [ebp - 0x40], 0
jne 0x10131817
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x24], 0xc8
je 0x101317d3
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x24], 0xc9
jne 0x10131817
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
push 0x20000b
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.libcurl.dll_curl_easy_getinfo]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x31], 1
push str.SUCESS____n_n
push 1
push 0xb7
push 0x10180b08
push 0x10180b5c
call fcn.101426f0
add esp, 0x14
jmp 0x10131840
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.ERR:res___d_rescode___d_n
push 1
push 0xbb
push str..._srcPrivateHelpercurlWebRequest.cpp
push str.CWebRequest::SendUrl
call fcn.101426f0
add esp, 0x1c
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.libcurl.dll_curl_slist_free_all]
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov dl, byte [ebp - 0x31]
mov byte [ebp - 0x39], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000cd00
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 0x34