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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0040
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00404370
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [ebx + 0x14], 0x10
lea eax, [ebx + 0x10]
mov dword [ebp - 0x90], eax
mov dword [eax], 0
mov eax, ebx
mov byte [ebp - 4], 3
jb 0x41739b
mov eax, dword [ebx]
mov byte [eax], 0
call fcn.00455f70
mov esi, eax
test esi, esi
jne 0x4173d1
cmp dword [edi + 0x14], 0x10
jb 0x4173b1
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x40]
push str.__s__Init_LibCurl_fail:
push eax
call fcn.004178d0
add esp, 0x10
xor bl, bl
jmp 0x417669
push str.Accept:__
push 0
call fcn.00456310
push str.User_Agent:_Mozilla_5.0__compatible__Windows_NT_6.1__AppleWebKit__KHTML__like_Gecko__Chrome_Safari_LibCurl_7.63
push eax
call fcn.00456310
push str.Cache_Control:_no_cache
push eax
call fcn.00456310
push eax
push 0x2727
push esi
mov dword [ebp - 0x80], eax
call fcn.00459540
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push 0x2712
push esi
call fcn.00459540
mov eax, dword [ebp - 0x78]
add esp, 0x30
cmp dword [eax + 0x10], 0
push 1
jne 0x41742b
push 0x50
jmp 0x417458
push 0x2728
push esi
call fcn.00459540
mov eax, dword [ebp - 0x78]
push dword [eax + 0x10]
push 0x3c
push esi
call fcn.00459540
mov eax, dword [ebp - 0x78]
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x417452
mov eax, dword [eax]
push eax
push 0x271f
push esi
call fcn.00459540
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0x272d
push esi
call fcn.00459540
push 0x4177c0
push 0x4e6f
push esi
call fcn.00459540
push 1
push 0x34
push esi
call fcn.00459540
push 6
push 0x4e
push esi
call fcn.00459540
mov eax, dword [ebp - 0x88]
add esp, 0x30
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x78], ecx
test edx, edx
jne 0x4174d8
push ebx
push 0x2711
push esi
call fcn.00459540
push 0x4177c0
push 0x4e2b
push esi
call fcn.00459540
push 0xf
push 0xd
push esi
call fcn.00459540
add esp, 0x24
jmp 0x417579
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x4174f3
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4174e9
mov ecx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405510
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4e3bb8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004a4068
add esp, 8
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x417558
push esi
call fcn.00455f30
push dword [ebp - 0x80]
call fcn.00456390
add esp, 8
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
cmp dword [edi + 0x14], 0x10
jb 0x417537
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
lea eax, [ebp - 0x40]
push str.Download___s__Open___s__Fail:_d
push eax
call fcn.004178d0
add esp, 0x14
xor bl, bl
jmp 0x417669
push 0x417790
push 0x4e2b
push esi
call fcn.00459540
push dword [ebp - 0x7c]
push 0x2711
push esi
call fcn.00459540
add esp, 0x18
push esi
call fcn.00455fb0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x84]
push eax
push 0x200002
push esi
call fcn.00455f50
push dword [ebp - 0x80]
call fcn.00456390
push esi
call fcn.00455f30
mov ecx, dword [ebp - 0x8c]
add esp, 0x18
mov eax, dword [ebp - 0x84]
test ecx, ecx
jne 0x4175c3
mov byte [ebp - 0x71], 1
cmp eax, 0xc8
je 0x4175c7
mov byte [ebp - 0x71], 0
cmp dword [edi + 0x14], 0x10
jb 0x4175cf
mov edi, dword [edi]
push eax
push ecx
push edi
lea eax, [ebp - 0x40]
push str.Send____s___return_d__httpcode_d
push eax
call fcn.004178d0
add esp, 0x14
cmp byte [ebp - 0x71], 0
je 0x417635
mov esi, dword [ebp - 0x78]
cmp dword [esi], 0
jne 0x417613
lea eax, [ebp - 0x40]
cmp eax, ebx
je 0x41764f
cmp dword [ebx + 0x14], 0x10
jb 0x417600
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x40]
push dword [eax]
push ebx
call fcn.00405510
jmp 0x41764f
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x14], 0x10
jb 0x417621
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.Downlaod___s__Finish
push eax
call fcn.004178d0
add esp, 0xc
jmp 0x41764f
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
call fcn.00405510
mov esi, dword [ebp - 0x78]
cmp dword [esi], 0
je 0x417666
mov ebx, dword [ebp - 0x7c]
push ebx
call fcn.004a3f43
push ebx
call fcn.004a3a69
add esp, 8
mov bl, byte [ebp - 0x71]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41769d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417693
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417773
push edx
push ecx
call fcn.0042a02e
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4176d1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4176c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417778
push edx
push ecx
call fcn.0042a02e
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x417713
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417709
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41777d
push edx
push ecx
call fcn.0042a02e
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x417755
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41774b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417782
push edx
push ecx
call fcn.0042a02e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret
call fcn.004a0469
call fcn.004a0469
call fcn.004a0469
call fcn.004a0469
int3