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

Disassembly:
push 0x12c
mov eax, 0x527c0d
call fcn.004e27d2
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.0040a4d0
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push 0x5592a0
push ecx
push esi
push edi
lea ecx, [ebp - 0x128]
call fcn.0040f8d1
pop ecx
push eax
call fcn.0040e32e
pop ecx
pop ecx
mov ecx, eax
call fcn.0040f8d1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a485
push eax
lea ecx, [ebp - 0x28]
call fcn.00409bd9
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040c02b
mov ecx, dword [ebp - 0x48]
push 5
mov eax, dword [ecx + 0xc]
add eax, 4
push eax
call fcn.00411219
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.004064f1
push str.default
push 1
push eax
mov byte [ebp - 4], 2
call fcn.00406584
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x418070
push str._Request_Range:__
lea ecx, [esi + 0x20]
call fcn.00406419
cmp byte [esi + 0x1c], 0
je 0x418070
push dword [ebp - 0x4c]
lea ecx, [esi + 0x20]
call fcn.0040633d
cmp byte [esi + 0x1c], 0
je 0x418070
push 0x557e44
lea ecx, [esi + 0x20]
call fcn.00406419
cmp byte [esi + 0x1c], 0
je 0x418070
push dword [ebp - 0x50]
lea ecx, [esi + 0x20]
call fcn.0040633d
cmp byte [esi + 0x1c], 0
je 0x418070
push 0x559828
lea ecx, [esi + 0x20]
call fcn.00406419
cmp byte [esi + 0x1c], 0
je 0x418070
push edi
lea ecx, [esi + 0x20]
call fcn.00406419
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov esi, vtable.el::base::Writer.0
mov dword [ebp - 0x88], esi
call fcn.004067e3
lea ecx, [ebp - 0x5c]
call fcn.00409846
mov byte [ebp - 4], 1
cmp dword [ebx], 0
jne 0x41810a
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.004064f1
push str.default
push 1
push eax
mov byte [ebp - 4], 4
call fcn.00406584
add esp, 0xc
cmp byte [eax + 0x1c], 0
je 0x4180e3
push str._curl_easy_init_fail____
lea ecx, [eax + 0x20]
call fcn.00406419
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
call fcn.004067e3
lea ecx, [ebp - 0x5c]
call fcn.00409846
push 2
pop ebx
xor edi, edi
jmp 0x418236
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 0x416f40
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 0x417ae0
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 0x418222
mov ebx, esi
jmp 0x418230
push dword [ebx]
call sym.Setup.exe_curl_easy_perform
mov ebx, eax
pop ecx
test ebx, ebx
je 0x418236
push ebx
call fcn.0041715b
lea ecx, [ebp - 0x138]
call fcn.004038bf
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040c02b
mov eax, ebx
call fcn.004e277c
ret 0x20