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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
call fcn.004a621c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
push 0x40017
push 0
push ebx
push 1
mov eax, 3
mov ebx, 0x5200b0
call fcn.004a6246
add esp, 0x10
mov eax, 0x6266b7
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x459f5a
push ebx
call fcn.004a6216
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x459fa4
push 0x80000006
push 0
push dword [ebp + 0x10]
push 0x40017
push 0
push dword [ebp - 4]
push 2
mov eax, 3
mov ebx, 0x520330
call fcn.004a6246
add esp, 0x1c
push 0x80000301
push 0
push 0xa
push 0x80000002
push 0
push 1
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x5201d0
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_63.0.3239.132_Safari_537.36
push 0x80000004
push 0
push str.User_Agent
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x520230
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
push 0x840cf8
push 0x80000004
push 0
push str.upgrade_insecure_requests
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x520230
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
push str.zh_CN_zh_q0.9
push 0x80000004
push 0
push str.accept_language
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x520230
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
push str.gzip__deflate__br
push 0x80000004
push 0
push str.accept_encoding
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x520230
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp_image_apng___q0.8_application_signed_exchange_vb3
push 0x80000004
push 0
push str.accept
push 0x40017
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x520230
call fcn.004a6246
add esp, 0x28
push 0x80000004
push 0
mov eax, dword [0x97b0f0]
test eax, eax
jne 0x45a10f
mov eax, 0x6266b7
push eax
push 0x40017
push 0
push dword [ebp - 4]
push 2
mov eax, 3
mov ebx, 0x5206b0
call fcn.004a6246
add esp, 0x1c
push 0
push 0
push 0
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x45a14c
mov eax, 0x6266b7
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x45a162
mov eax, 0x6266b7
push eax
push 0x40017
push 0
push dword [ebp - 4]
push 4
mov eax, 3
mov ebx, 0x520490
call fcn.004a6246
add esp, 0x34
push 0x40017
push 0
push dword [ebp - 4]
push 1
mov eax, 3
mov ebx, 0x520370
call fcn.004a6246
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc8
je 0x45a267
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x45a1ca
mov eax, 0x6266b7
push eax
push 1
mov ebx, 0x4a95a0
call fcn.004a6234
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x45a1f3
mov eax, 0x6266d0
push eax
push 1
mov ebx, 0x4a88f0
call fcn.004a6234
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45a219
push ebx
call fcn.004a6216
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x45a22f
push ebx
call fcn.004a6216
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x45a24a
mov eax, 0x6266b7
push eax
push 1
mov ebx, 0x4a94d0
call fcn.004a6234
add esp, 0x10
mov eax, 0
jmp 0x45a271
mov eax, 1
jmp 0x45a271
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x40017
push 0
push ebx
push 1
mov eax, 3
mov ebx, 0x5200d0
call fcn.004a6246
add esp, 0x10
call fcn.004a6216
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18