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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, qword [rcx + 8]
movabs rax, 0x5443454e4e4f43
mov qword [rbp + 0x1f], rax
mov esi, 0xffffffff
mov dword [rbp - 0x49], 0
mov r12d, 1
lea rdx, [r15 + 0xb0]
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x140058683
lea rcx, [r15 + 0x88]
lea rdx, [rbp - 9]
call fcn.1400499f0
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400bef80
mov rax, qword [rbp - 0x39]
lea rcx, [0x140484d90]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x39]
mov qword [rdx], rcx
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058649
cmp ecx, esi
je 0x14005865b
mov rax, qword [rbp - 0x39]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x14005865b
mov rcx, qword [rbp - 0x39]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rax, qword [rbp - 9]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058678
cmp ecx, esi
je 0x1400586cc
mov rax, qword [rbp - 9]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x1400586cc
mov rcx, qword [rbp - 9]
mov edx, 2
jmp 0x1400586c1
lea rcx, [rbp - 0x29]
call fcn.1400d7aa0
mov rcx, qword [rax]
mov qword [rbp - 0x11], rcx
lea rcx, [0x140484d90]
mov qword [rax], rcx
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400586ba
cmp ecx, esi
je 0x1400586cc
mov rax, qword [rbp - 0x29]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x1400586cc
mov rcx, qword [rbp - 0x29]
mov rdx, r12
mov r8d, 8
call fcn.1400affb0
movzx edx, word [r15 + 0x90]
lea rcx, [rbp - 0x29]
mov r8d, 0xa
call fcn.1400b18c0
mov rbx, rax
mov rcx, qword [rax]
mov r8d, dword [rcx + 4]
mov rcx, qword [rbp - 0x11]
mov edi, dword [rcx + 4]
lea rcx, [rbp - 0x19]
inc edi
add edi, r8d
xor r8d, r8d
mov edx, edi
call fcn.1400b0430
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx + 0x10]
add rdx, rcx
mov rcx, qword [rbp - 0x11]
mov r10, rdx
mov rax, qword [rcx + 0x10]
movsxd r9, dword [rcx + 4]
add r9, rax
add r9, rcx
lea r8, [rax + rcx]
cmp r8, r9
je 0x140058741
movzx eax, byte [r8]
inc r8
mov byte [rdx], al
inc rdx
cmp r8, r9
jne 0x140058730
mov byte [rdx], 0x3a
inc rdx
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x10]
movsxd r9, dword [rcx + 4]
add r9, rcx
add r9, rax
lea r8, [rcx + rax]
cmp r8, r9
je 0x140058772
movzx eax, byte [r8]
inc r8
mov byte [rdx], al
inc rdx
cmp r8, r9
jne 0x140058761
mov rcx, rdx
movsxd rax, edi
sub rcx, r10
cmp rax, rcx
je 0x14005878c
sub edx, r10d
lea rcx, [rbp - 0x19]
call fcn.1400b2a20
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400587a9
cmp ecx, esi
je 0x1400587bb
mov rax, qword [rbp - 0x29]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x1400587bb
mov rcx, qword [rbp - 0x29]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov r8d, esi
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x41]
call fcn.1400b0490
mov dl, 0x20
lea rcx, [rbp - 0x41]
call fcn.1400b0a30
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.1400b0950
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp - 0x41]
call fcn.1400b0ab0
lea rdx, str.Proxy_Connection:_keep_alive_r_n
lea rcx, [rbp - 0x41]
call fcn.1400b0ab0
lea rax, str.Host:
xor r8d, r8d
mov qword [rbp - 0x29], rax
lea r13, [0x14026a838]
lea rax, [rbp - 0x11]
mov qword [rbp - 1], r13
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 9]
lea rax, [rbp - 0x29]
lea rcx, [rbp - 0x41]
mov qword [rbp - 9], rax
call fcn.140035280
mov r8d, esi
lea rdx, str.User_Agent
lea rcx, [rbp - 0x39]
call fcn.1400b0490
lea rdx, [rbp - 0x39]
lea rcx, [r15 + 0xa8]
call fcn.14001f250
mov rcx, qword [rbp - 0x39]
movzx ebx, al
mov edx, dword [rcx]
test edx, edx
je 0x14005887c
cmp edx, esi
je 0x14005888e
mov rcx, qword [rbp - 0x39]
mov edx, esi
lock xadd dword [rcx], edx
cmp edx, r12d
jne 0x14005888e
mov rcx, qword [rbp - 0x39]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
test bl, bl
jne 0x1400588a2
lea rdx, str.User_Agent:_Mozilla_5.0_r_n
lea rcx, [rbp - 0x41]
call fcn.1400b0ab0
lea rdx, [rbp + 7]
lea rcx, [r15 + 0xa8]
call fcn.140020170
mov rax, qword [rbp + 7]
movsxd rbx, dword [rax + 8]
movsxd rdi, dword [rax + 0xc]
add rbx, 2
add rdi, 2
lea rbx, [rax + rbx*8]
lea rdi, [rax + rdi*8]
cmp rbx, rdi
je 0x140058966
lea rax, [rbp - 0x39]
mov qword [rbp + 0x17], r13
mov qword [rbp + 0xf], rax
lea r13, [0x14026a73c]
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [r15 + 0xa8]
call fcn.1400200d0
lea rcx, [rbp - 9]
mov qword [rbp - 9], rbx
mov qword [rbp - 0x39], rcx
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x41]
mov qword [rbp - 1], r13
xor r8d, r8d
mov qword [rbp - 0x31], rax
call fcn.140056ad0
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058944
cmp ecx, esi
je 0x140058956
mov rax, qword [rbp - 0x29]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058956
mov rcx, qword [rbp - 0x29]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
add rbx, 8
cmp rbx, rdi
jne 0x1400588f0
lea r13, [0x14026a838]
mov rdi, qword [r15 + 0xd0]
test rdi, rdi
je 0x140058b49
cmp dword [rdi + 0x20], 0
je 0x140058b49
lea rdx, [rbp - 9]
mov byte [r15 + 0xde], r12b
lea rcx, [r15 + 0xa8]
call fcn.14001f2a0
mov r8d, esi
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x39]
mov rbx, rax
call fcn.1400b0490
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], rbx
lea r8, [rbp - 0x39]
mov rcx, rdi
lea rdx, [rbp - 0x29]
call fcn.1400366b0
mov rdi, rax
mov rcx, qword [rax]
mov r8d, dword [rcx + 4]
mov rcx, qword [rbp - 0x41]
mov ebx, dword [rcx + 4]
mov edx, dword [rcx]
add ebx, 0x15
mov rcx, qword [rbp - 0x41]
add ebx, r8d
cmp edx, r12d
ja 0x140058a02
mov r8d, dword [rcx + 8]
lea edx, [rbx + 1]
mov eax, r8d
btr eax, 0x1f
cmp edx, eax
ja 0x140058a02
bts r8d, 0x1f
mov dword [rcx + 8], r8d
jmp 0x140058a18
mov edx, dword [rcx + 4]
mov r8d, r12d
cmp edx, ebx
lea rcx, [rbp - 0x41]
cmovb edx, ebx
inc edx
call fcn.1400b2240
mov rax, qword [rbp - 0x41]
mov ecx, dword [rax]
mov rax, qword [rbp - 0x41]
cmp ecx, r12d
ja 0x140058a2e
cmp qword [rax + 0x10], 0x18
je 0x140058a48
mov r8d, dword [rax + 8]
lea rcx, [rbp - 0x41]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp - 0x41]
movsxd r8, dword [rax + 4]
mov cl, 0x50
add r8, qword [rax + 0x10]
add r8, rax
lea rax, str.Proxy_Authorization:
nop dword [rax]
mov byte [r8], cl
lea rax, [rax + 1]
movzx ecx, byte [rax]
inc r8
test cl, cl
jne 0x140058a60
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
movsxd r10, dword [rcx + 4]
add r10, rax
add r10, rcx
lea r9, [rcx + rax]
cmp r9, r10
je 0x140058aa3
nop dword [rax + rax]
movzx eax, byte [r9]
inc r9
mov byte [r8], al
lea r8, [r8 + 1]
cmp r9, r10
jne 0x140058a90
mov edx, ebx
lea rcx, [rbp - 0x41]
call fcn.1400b2a20
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058acb
cmp ecx, esi
je 0x140058add
mov rax, qword [rbp - 0x29]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058add
mov rcx, qword [rbp - 0x29]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058afa
cmp ecx, esi
je 0x140058b0c
mov rax, qword [rbp - 0x39]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058b0c
mov rcx, qword [rbp - 0x39]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rax, qword [rbp - 9]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058b29
cmp ecx, esi
je 0x140058b3d
mov rax, qword [rbp - 9]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058b3d
mov rcx, qword [rbp - 9]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.1400b0ab0
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.1400b0ab0
mov rax, qword [rbp - 0x41]
mov rcx, qword [r15 + 0xb8]
mov rdx, qword [rax + 0x10]
movsxd r8, dword [rax + 4]
add rdx, rax
call fcn.1400dc180
mov dword [r15 + 0xc8], r12d
mov rax, qword [rbp + 7]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058b94
cmp ecx, esi
je 0x140058bfb
mov rax, qword [rbp + 7]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058bfb
mov r14, qword [rbp + 7]
movsxd rbx, dword [r14 + 0xc]
movsxd rdi, dword [r14 + 8]
add rbx, 2
add rdi, 2
lea rbx, [r14 + rbx*8]
lea rdi, [r14 + rdi*8]
cmp rdi, rbx
je 0x140058bf3
nop word [rax + rax]
mov rcx, qword [rbx - 8]
sub rbx, 8
mov eax, dword [rcx]
test eax, eax
je 0x140058bdd
cmp eax, esi
je 0x140058bee
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, r12d
jne 0x140058bee
mov rcx, qword [rbx]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
cmp rbx, rdi
jne 0x140058bc0
mov rcx, r14
call fcn.1400c6df0
mov rax, qword [rbp - 0x41]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058c18
cmp ecx, esi
je 0x140058c2a
mov rax, qword [rbp - 0x41]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058c2a
mov rcx, qword [rbp - 0x41]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rax, qword [rbp - 0x19]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058c47
cmp ecx, esi
je 0x140058c59
mov rax, qword [rbp - 0x19]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, r12d
jne 0x140058c59
mov rcx, qword [rbp - 0x19]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rax, qword [rbp - 0x11]
mov ecx, dword [rax]
test ecx, ecx
je 0x140058c74
cmp ecx, esi
je 0x140058c86
mov rax, qword [rbp - 0x11]
lock xadd dword [rax], esi
cmp esi, r12d
jne 0x140058c86
mov rcx, qword [rbp - 0x11]
mov r8d, 8
mov rdx, r12
call fcn.1400affb0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140229fa0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret