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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6069fb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x689640]
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.0050ca70
movzx eax, al
test eax, eax
je 0x511633
push str.HTTP_1.1
mov ecx, dword [ebp - 0xa4]
add ecx, 8
call fcn.00510cd0
push 0x629268
lea ecx, [ebp - 0xa0]
call fcn.0073395a
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e60
mov ecx, eax
call fcn.0050ff10
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0074d431
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x5116d5
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 0x629274
lea edx, [ebp - 0xec]
push edx
call fcn.0050f520
add esp, 0xc
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f350
push 0x629280
lea ecx, [ebp - 0x88]
call fcn.0073395a
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e60
mov ecx, eax
call fcn.0050ff10
mov byte [ebp - 0xa5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0074d431
movzx ecx, byte [ebp - 0xa5]
test ecx, ecx
je 0x511777
push str.HTTP_1.1
push 0x62928c
lea edx, [ebp - 0xfc]
push edx
call fcn.0050f4e0
add esp, 0xc
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f350
push 0x629298
lea ecx, [ebp - 0x70]
call fcn.0073395a
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e60
mov ecx, eax
call fcn.0050ff10
mov byte [ebp - 0xa6], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0074d431
movzx ecx, byte [ebp - 0xa6]
test ecx, ecx
je 0x511810
push 0x629404
push 0x6292a0
lea edx, [ebp - 0x10c]
push edx
call fcn.0050f460
add esp, 0xc
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f350
push 0x6292a8
lea ecx, [ebp - 0x58]
call fcn.0073395a
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e60
mov ecx, eax
call fcn.0050ff10
mov byte [ebp - 0xa7], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0074d431
movzx ecx, byte [ebp - 0xa7]
test ecx, ecx
je 0x5118a9
push str.Keep_Alive
push 0x6292b4
lea edx, [ebp - 0x11c]
push edx
call fcn.0050f560
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f350
push 0x6292c0
lea ecx, [ebp - 0x40]
call fcn.0073395a
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e60
mov ecx, eax
call fcn.0050ff10
mov byte [ebp - 0xa8], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0074d431
movzx ecx, byte [ebp - 0xa8]
test ecx, ecx
je 0x511942
push str.zh_CN_zh_q0.9
push 0x6292d0
lea edx, [ebp - 0x12c]
push edx
call fcn.0050f4a0
add esp, 0xc
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.0050f350
cmp dword [ebp + 0xc], 1
jne 0x511954
mov dword [ebp - 0xb4], str.POST
jmp 0x51195e
mov dword [ebp - 0xb4], str.GET
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0073395a
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xa4]
add edx, 0x38
push edx
lea ecx, [ebp - 0x28]
call fcn.005100d0
push 0x6292f0
lea ecx, [ebp - 0x28]
call fcn.0050ca10
mov eax, dword [ebp - 0xa4]
add eax, 8
push eax
lea ecx, [ebp - 0x28]
call fcn.005100d0
push 0x629424
lea ecx, [ebp - 0x28]
call fcn.0050ca10
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510d00
jmp 0x5119d4
lea ecx, [ebp - 0xb0]
call fcn.00510020
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x50
call fcn.00510e30
push eax
lea ecx, [ebp - 0xb0]
call fcn.0050ff40
movzx eax, al
test eax, eax
je 0x511a43
lea ecx, [ebp - 0xb0]
call fcn.0050ffa0
push eax
lea ecx, [ebp - 0x28]
call fcn.005100d0
push 0x6292f4
lea ecx, [ebp - 0x28]
call fcn.0050ca10
lea ecx, [ebp - 0xb0]
call fcn.0050ffa0
add eax, 0x18
push eax
lea ecx, [ebp - 0x28]
call fcn.005100d0
push 0x629424
lea ecx, [ebp - 0x28]
call fcn.0050ca10
jmp 0x5119c9
push 0x629424
lea ecx, [ebp - 0x28]
call fcn.0050ca10
push 0x629424
lea ecx, [ebp - 0x28]
call fcn.0050ca10
lea ecx, [ebp - 0x28]
push ecx
call fcn.0050f670
add esp, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.0076d594
mov edx, dword [ebp - 0xb8]
or edx, 1
mov dword [ebp - 0xb8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0074d431
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.00817892
mov esp, ebp
pop ebp
ret 8