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

Disassembly:
push esi
pushfd
call fcn.0086be4c
jbe 0x510b06
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x687640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xa4]
add ecx, 8
call fcn.0050bf70
movzx eax, al
test eax, eax
je 0x510b13
push str.HTTP_1.1
mov ecx, dword [ebp - 0xa4]
add ecx, 8
call fcn.005101b0
lea ebx, [edi + edi*8 - 1]
inc dword [ebx - 0x6217f73f]
idiv bh
jmp [eax + 0x38]
push 0x628238
lea ecx, [ebp - 0xa0]
call fcn.00712319
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084f248
mov ecx, eax
call fcn.005160b5
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.007302b1
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x510bb5
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_80.0.4044.92_Safari_537.36
push 0x628244
lea edx, [ebp - 0xec]
push edx
call fcn.00850fee
add esp, 0xc
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f40f
push 0x628250
lea ecx, [ebp - 0x88]
call fcn.00712319
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084f248
mov ecx, eax
call fcn.005160b5
mov byte [ebp - 0xa5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.007302b1
movzx ecx, byte [ebp - 0xa5]
test ecx, ecx
je 0x510c57
push str.HTTP_1.1
push 0x62825c
lea edx, [ebp - 0xfc]
push edx
call fcn.0085163b
add esp, 0xc
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f40f
push 0x628268
lea ecx, [ebp - 0x70]
call fcn.00712319
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084f248
mov ecx, eax
call fcn.005160b5
mov byte [ebp - 0xa6], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.007302b1
movzx ecx, byte [ebp - 0xa6]
test ecx, ecx
je 0x510cf0
push 0x6283d4
push 0x628270
lea edx, [ebp - 0x10c]
push edx
call fcn.0056befa
add esp, 0xc
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f40f
push 0x628278
lea ecx, [ebp - 0x58]
call fcn.00712319
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084f248
mov ecx, eax
call fcn.005160b5
mov byte [ebp - 0xa7], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.007302b1
movzx ecx, byte [ebp - 0xa7]
test ecx, ecx
je 0x510d89
push str.Keep_Alive
push 0x628284
lea edx, [ebp - 0x11c]
push edx
call fcn.0085f681
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f40f
push 0x628290
lea ecx, [ebp - 0x40]
call fcn.00712319
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084f248
mov ecx, eax
call fcn.005160b5
mov byte [ebp - 0xa8], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.007302b1
movzx ecx, byte [ebp - 0xa8]
test ecx, ecx
je 0x510e22
push str.zh_CN_zh_q0.9
push 0x6282a0
lea edx, [ebp - 0x12c]
push edx
call fcn.0084bf40
add esp, 0xc
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f40f
cmp dword [ebp + 0xc], 1
jne 0x510e34
mov dword [ebp - 0xb4], str.POST
jmp 0x510e3e
mov dword [ebp - 0xb4], str.GET
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00712319
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xa4]
add edx, 0x38
push edx
lea ecx, [ebp - 0x28]
call fcn.0084eabf
push 0x6282c0
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
mov eax, dword [ebp - 0xa4]
add eax, 8
push eax
lea ecx, [ebp - 0x28]
call fcn.0084eabf
push 0x6283f4
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0084ba24
jmp 0x510eb4
lea ecx, [ebp - 0xb0]
call fcn.00874fcc
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0086b759
push eax
lea ecx, [ebp - 0xb0]
call fcn.00868891
movzx eax, al
test eax, eax
je 0x510f23
lea ecx, [ebp - 0xb0]
call fcn.00847d34
push eax
lea ecx, [ebp - 0x28]
call fcn.0084eabf
push 0x6282c4
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
lea ecx, [ebp - 0xb0]
call fcn.00847d34
add eax, 0x18
push eax
lea ecx, [ebp - 0x28]
call fcn.0084eabf
push 0x6283f4
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
jmp 0x510ea9
push 0x6283f4
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
push 0x6283f4
lea ecx, [ebp - 0x28]
call fcn.0084b9d8
lea ecx, [ebp - 0x28]
push ecx
call fcn.00874ed8
add esp, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.0073eb2a
mov edx, dword [ebp - 0xb8]
or edx, 1
mov dword [ebp - 0xb8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.007302b1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00530cbe
mov esp, ebp
pop ebp
ret 8