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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x41ed6c
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
movsd xmm0, qword [0x0083a4d8]
inc dword [rdx + 0xd0]
mov edx, dword [0x0083a424]
test edx, edx
jne 0x41ec9a
mov qword [rsp + 0x50], rcx
movsd qword [rsp + 0x28], xmm0
mov edx, 1
lea rbx, [0x0083a428]
lock xadd dword [rbx], edx
mov edx, dword [0x0083a420]
jmp 0x41ea3d
mov edx, esi
mov esi, edx
shr edx, 1
and edx, 1
dec edx
neg edx
cmp rdx, 2
jae 0x41ed65
lea rdx, [rdx + rdx*4]
lea rdi, [0x00839400]
lea r8, [rdi + rdx*8 + 0x1080]
mov r9d, 0xffffffff
lock xadd dword [r8], r9d
dec r9d
test r9d, r9d
jge 0x41ec66
mov edx, 1
lock xadd dword [r8], edx
xor eax, eax
test rax, rax
je 0x41ec4c
movzx edx, byte [rax + 0x64]
cmp dl, 1
je 0x41eaa9
mov r8d, dword [rax + 0x58]
cmp r8d, esi
jne 0x41ecb8
jmp 0x41ea3b
mov edx, dword [rax + 0x58]
lea r8d, [rsi - 2]
cmp edx, r8d
jne 0x41ea3b
lea edx, [rsi - 1]
mov r9, rax
mov eax, r8d
lock cmpxchg dword [r9 + 0x58], edx
sete dl
test dl, dl
je 0x41ea3b
mov rax, qword [r9 + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp], r9
mov byte [rsp + 8], 0
call fcn.0041eee0
movzx eax, byte [rsp + 0x10]
test al, al
je 0x41ec45
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lea rdx, [0x0083a428]
lock xadd dword [rdx], ecx
dec ecx
test ecx, ecx
jne 0x41eb22
mov ecx, dword [0x0083a424]
test ecx, ecx
je 0x41eb22
mov ecx, dword [0x00850ed0]
test ecx, ecx
jg 0x41eb41
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
add dword [rcx + 0xd0], 0xffffffff
mov qword [rsp + 0x68], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 0x30], rax
mov rax, qword [0x00854000]
mov qword [rsp + 0x48], rax
mov rcx, qword [0x0083a4d0]
mov qword [rsp + 0x40], rcx
mov rdx, qword [0x0083a4c0]
mov qword [rsp + 0x38], rdx
call fcn.0042bc80
lea rax, [0x006b4248]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1f
call fcn.0042c640
mov rax, qword [rsp + 0x48]
shr rax, 0x14
mov qword [rsp], rax
call fcn.0042c340
lea rax, [0x006ad6db]
mov qword [rsp], rax
mov qword [rsp + 8], 0xe
call fcn.0042c640
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rax, rcx
shr rax, 0x14
mov qword [rsp], rax
call fcn.0042c340
lea rax, [0x006b0c57]
mov qword [rsp], rax
mov qword [rsp + 8], 0x17
call fcn.0042c640
mov rax, qword [rsp + 0x38]
mov qword [rsp], rax
call fcn.0042c340
lea rax, [0x006ac40a]
mov qword [rsp], rax
mov qword [rsp + 8], 0xa
call fcn.0042c640
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsp], xmm0
call fcn.0042c000
lea rax, [0x006acc32]
mov qword [rsp], rax
mov qword [rsp + 8], 0xc
call fcn.0042c640
call fcn.0042bd10
mov rax, qword [rsp + 0x30]
jmp 0x41eb22
xor eax, eax
jmp 0x41eaf8
mov edx, 1
lea rsi, [0x0083a424]
xchg dword [rsi], edx
mov rax, 0xffffffffffffffff
jmp 0x41eaf8
mov r8d, r9d
shr r9d, 9
mov rdx, qword [rdi + rdx*8 + 0x1068]
lea r10, [rdx + r9*8]
test byte [r10], al
mov rdx, qword [rdx + r9*8]
test byte [rdx], al
and r8d, 0x1ff
mov rax, qword [rdx + r8*8]
mov qword [rdx + r8*8], 0
jmp 0x41ea88
mov rax, qword [rcx + 0x30]
add dword [rax + 0xd0], 0xffffffff
mov qword [rsp + 0x68], 0xffffffffffffffff
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov dword [rsp + 0x24], esi
mov byte [rsp + 0x1f], dl
mov dword [rsp + 0x20], r8d
call fcn.0042bc80
lea rax, [0x006b247c]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1a
call fcn.0042c640
movzx eax, byte [rsp + 0x1f]
movzx eax, al
mov qword [rsp], rax
call fcn.0042c340
lea rax, [0x006acc56]
mov qword [rsp], rax
mov qword [rsp + 8], 0xc
call fcn.0042c640
mov eax, dword [rsp + 0x20]
mov qword [rsp], rax
call fcn.0042c340
lea rax, [0x006ac45a]
mov qword [rsp], rax
mov qword [rsp + 8], 0xa
call fcn.0042c640
mov eax, dword [rsp + 0x24]
mov qword [rsp], rax
call fcn.0042c340
call fcn.0042bf30
call fcn.0042bd10
lea rax, [0x006b4229]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1f
call fcn.0042b3a0
ud2
call fcn.00429b50
ud2
call fcn.00452950
jmp fcn.0041e9c0