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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.004632bb
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0xe4f5b7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x28
call fcn.004632bb
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xe6d18a
mov dword [ebp - 0xc], 0
push 8
call fcn.004632bb
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0xe6d28a
push ebx
add ebx, 4
push ebx
push 8
call fcn.004632bb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push 0
push 0
push 0
push getpeername
push 0
push 0xe51f97
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x417f7c
mov eax, 0x500dea
push eax
push 3
mov ebx, 0x464320
call fcn.004632cd
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x417fb4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x417fb0
imul eax, dword [ebx]
jmp 0x417fa5
mov ecx, eax
test ecx, ecx
je 0x417fd3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x417fcc
push ebx
push eax
call fcn.004632b5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x417fba
call fcn.004632b5
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 0x1388
push 1
push 0x1388
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
mov ebx, dword [ebp - 4]
call fcn.0040b9c0
mov eax, 0
cmp eax, ecx
jl 0x418034
push 0x95
push 0x403bf0e
push 1
call fcn.004632c1
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
call fcn.0040b9c0
mov eax, 2
cmp eax, ecx
jl 0x418064
push 0x95
push 0x403bf0e
push 1
call fcn.004632c1
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
call fcn.0040b9c0
push ebx
push ecx
mov ebx, dword [ebp - 4]
call fcn.00411b2c
dec eax
jns 0x418098
push 0xed
push 0x403bf0e
push 4
call fcn.004632c1
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4180b5
push 0xed
push 0x403bf0e
push 1
call fcn.004632c1
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push str._api_v3_share_download_
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 0xe6d431
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 5
call fcn.00401100
add esp, 0x14
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41810b
push ebx
call fcn.004632b5
add esp, 4
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
push 0
push 0
push 0
push getpeername
push 0
push 0xe52b63
push getpeername
push 0
push str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36_r_n
push 3
mov ebx, 0x464320
call fcn.004632cd
add esp, 0x28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4181a4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4181a0
imul eax, dword [ebx]
jmp 0x418195
mov ecx, eax
test ecx, ecx
je 0x4181c3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4181bc
push ebx
push eax
call fcn.004632b5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4181aa
call fcn.004632b5
add esp, 4
mov eax, 0x500dea
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4181f8
push ebx
call fcn.004632b5
add esp, 4
push 1
push 0x36
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00416ef8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x418274
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418284
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x418294
push ebx
call fcn.004632b5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4182a7
mov eax, 0xe4f5b7
push eax
push 1
mov ebx, 0x464d30
call fcn.004632cd
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4182cd
push ebx
call fcn.004632b5
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4182e1
push ebx
call fcn.004632b5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
push 1
mov eax, 0xe6d434
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x118]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41835b
push ebx
call fcn.004632b5
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41836f
push ebx
call fcn.004632b5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41838f
push eax
mov ebx, eax
call fcn.00401095
inc eax
push eax
call fcn.004632bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x418394
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4183b3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4183af
imul eax, dword [ebx]
jmp 0x4183a4
mov ecx, eax
test ecx, ecx
je 0x4183d2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4183cb
push ebx
push eax
call fcn.004632b5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4183b9
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4183fa
push ebx
call fcn.004632b5
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004632b5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4