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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ec7dd
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp word [eax + 0x28], 0x304
jne 0x5ec7c1
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x5ec7ad
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x1e4]
inc edi
mov dword [eax + 0x1e4], edi
cmp edi, 0x10
jg 0x5ec68b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5ec61c
mov ecx, dword [ecx + 8]
cmp ecx, 0x657fdec6
jne 0x5ec5ea
lea ecx, [0x705840]
cmp ebx, ecx
jne 0x5ec61c
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.005ec7f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
cmp ecx, 0x82cd91e9
jne 0x5ec61c
lea ecx, [0x7058a0]
cmp ebx, ecx
jne 0x5ec61c
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005f96e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [0x74ec5b]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov dword [eax + 4], 0x23
lea ecx, [0x7482a8]
mov dword [eax], ecx
lea ecx, [0x709900]
mov dword [esp], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409f50
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5ec71d
lea eax, [0x7b0bb8]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x995310]
test eax, eax
jne 0x5ec701
mov eax, dword [esp + 0x24]
jmp 0x5ec715
call fcn.00468e70
mov eax, dword [esp + 0x24]
mov dword [edi], eax
mov edx, dword [ecx + 0xd8]
mov dword [edi + 4], edx
mov dword [ecx + 0xd8], eax
jmp 0x5ec795
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
lea edx, [0x701fc0]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5ec755
mov ecx, dword [esp + 0x20]
jmp 0x5ec760
call fcn.00468e60
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x7b1074]
mov edx, dword [esp + 0x38]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x5ec78d
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0xd8]
mov dword [edi + 4], ecx
mov dword [edx + 0xd8], eax
mov ecx, edx
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
mov dword [esp], eax
call fcn.005ec1c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x34
ret
call fcn.00467a60
jmp fcn.005ec530