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

Disassembly:
push 0x12c
mov eax, 0x52955d
call fcn.004e41bf
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
push ecx
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], eax
call fcn.0040a483
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push 0x55b2e0
push ecx
push esi
push edi
lea ecx, [ebp - 0x128]
call fcn.0040f871
pop ecx
push eax
call fcn.0040e2d3
pop ecx
pop ecx
mov ecx, eax
call fcn.0040f871
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a438
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b66
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040bfcb
mov ecx, dword [ebp - 0x48]
push 5
mov eax, dword [ecx + 0xc]
add eax, 4
push eax
call fcn.004111b9
push str.CURLcode___thiscall_CLibcurlTool::httpDownloadContent_const_char____int64___int64___int64_class_CDownloadThread__
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x88]
mov eax, dword [ebp + 0x14]
sub eax, edi
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0xf7
cmovae edi, dword [ebp - 0x28]
push str........._srcCLibcurlTool.cpp
push 0x80
mov dword [ebp - 0x50], eax
call fcn.004064ae
push str.default
push 1
push eax
mov byte [ebp - 4], 2
call fcn.00406541
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x417fd3
push str._Request_Range:__
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x417fd3
push dword [ebp - 0x4c]
lea ecx, [esi + 0x20]
call fcn.004062fa
cmp byte [esi + 0x1c], 0
je 0x417fd3
push 0x559e7c
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x417fd3
push dword [ebp - 0x50]
lea ecx, [esi + 0x20]
call fcn.004062fa
cmp byte [esi + 0x1c], 0
je 0x417fd3
push 0x55b868
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x417fd3
push edi
lea ecx, [esi + 0x20]
call fcn.004063d6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov esi, vtable.el::base::Writer.0
mov dword [ebp - 0x88], esi
call fcn.004067a0
lea ecx, [ebp - 0x5c]
call fcn.00409800
mov byte [ebp - 4], 1
cmp dword [ebx], 0
jne 0x41806d
push ecx
push ecx
push str.CURLcode___thiscall_CLibcurlTool::httpDownloadContent_const_char____int64___int64___int64_class_CDownloadThread__
push 0xfb
push str........._srcCLibcurlTool.cpp
push 0x80
lea ecx, [ebp - 0x88]
call fcn.004064ae
push str.default
push 1
push eax
mov byte [ebp - 4], 4
call fcn.00406541
add esp, 0xc
cmp byte [eax + 0x1c], 0
je 0x418046
push str._curl_easy_init_fail____
lea ecx, [eax + 0x20]
call fcn.004063d6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
call fcn.004067a0
lea ecx, [ebp - 0x5c]
call fcn.00409800
push 2
pop ebx
xor edi, edi
jmp 0x418199
push dword [ebx]
call sym.Setup.exe_curl_easy_reset
xor edi, edi
mov dword [esp], str.User_Agent:Mozilla_5.0__Windows_NT_6.1__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_62.0.3202.75_Safari_537.36
push edi
call sym.Setup.exe_curl_slist_append
push eax
push 0x2727
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0x14
push dword [ebp - 0x44]
push 0x2712
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 1
push 0x63
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push 0x2717
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 1
push 0x34
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 5
push 0x44
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 0x416ea9
push 0x4e2b
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
mov esi, dword [ebp - 0x48]
add esp, 0xc
push esi
push 0x2711
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push esi
push 0x272d
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 0x417a49
push 0x4e6f
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 0x14
push 0xd
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push 3
push 0x4e
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push edi
push 0x40
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x44], esi
push edi
push 0x40
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
push edi
push 0x51
push dword [ebx]
call sym.Setup.exe_curl_easy_setopt
add esp, 0xc
test esi, esi
je 0x418185
mov ebx, esi
jmp 0x418193
push dword [ebx]
call sym.Setup.exe_curl_easy_perform
mov ebx, eax
pop ecx
test ebx, ebx
je 0x418199
push ebx
call fcn.004170c4
lea ecx, [ebp - 0x138]
call fcn.004038a2
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040bfcb
mov eax, ebx
call fcn.004e4169
ret 0x20