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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x5d78b6
sub esp, 0xc0
mov ebx, dword [esp + 0xc4]
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x5d6fc0
xor eax, eax
jmp 0x5d7010
mov eax, dword [0x9677e0]
mov ecx, dword [0x9677e4]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
mov ebp, dword [esp + 0x2c]
lea eax, [ebp + 1]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xd0]
test ebp, ebp
je 0x5d7020
mov esi, dword [ebp + 8]
jmp 0x5d7022
xor esi, esi
cmp eax, esi
jge 0x5d713e
mov ecx, dword [ebp + 8]
nop
cmp eax, ecx
jae 0x5d78b0
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 4]
shl eax, 4
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5d70a0
mov ebx, dword [esp]
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x5d7002
mov eax, dword [0x9677e0]
mov ecx, dword [0x9677e4]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
test eax, eax
je 0x5d70c1
mov eax, dword [eax + 4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
lea eax, [0x74c309]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
lea eax, [esp + 0xa8]
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 + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
call fcn.005d19c0
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x5d7169
mov ecx, dword [esp]
test ecx, ecx
je 0x5d75bc
movzx ecx, byte [ecx + 0x14]
test cl, cl
jne 0x5d75bc
test eax, eax
je 0x5d71e7
movzx eax, byte [eax + 0x14]
test al, al
je 0x5d71e7
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
lea ecx, [esp + 0xc8]
mov dword [esp + 4], ecx
call fcn.005d2c50
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5d71a9
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x5d71a3
mov eax, dword [eax + 8]
jmp 0x5d71a5
xor eax, eax
test eax, eax
jne 0x5d71e7
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebp
add esp, 0xc0
ret
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x5d7209
call fcn.005d19c0
mov eax, dword [esp]
mov dword [esp + 0xd4], eax
test eax, eax
je 0x5d7533
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], ecx
call fcn.005d5b20
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5d74f5
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x5d7284
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005d8a10
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5d74b7
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x5d7293
xor eax, eax
jmp 0x5d72fe
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004fef80
lea edi, [esp + 0x68]
lea esi, [esp + 0xc]
call fcn.004695ca
lea edi, [esp + 0x4c]
lea esi, [esp + 0x68]
call fcn.004695ca
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x10]
lea ecx, [0x6f7e60]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0040d350
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x5d738d
lea eax, [0x6f37c0]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
lea ecx, [0x6f3840]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [0x995310]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5d7344
mov eax, dword [esp + 0xc4]
jmp 0x5d7352
call fcn.00468e60
mov eax, dword [esp + 0xc4]
mov dword [edi], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x98]
mov dword [edx + 4], 1
mov dword [edx + 8], 1
mov ebx, dword [0x995310]
test ebx, ebx
je 0x5d737f
call fcn.00468e70
mov dword [edi], ecx
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], ecx
mov ecx, 1
mov ebx, 1
jmp 0x5d73ff
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x9c], eax
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], ecx
call fcn.005d7b30
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5d7479
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, edx
mov edx, eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x88], edx
mov ebp, dword [esp + 0xf0]
test ebp, ebp
jne 0x5d7464
mov dword [esp + 0x34], ebx
lea eax, [0x6f2b60]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax], 1
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], 1
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
xor edi, edi
jmp 0x5d761c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
add esp, 0xc0
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [0x96eb28]
mov ecx, dword [0x96eb2c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea eax, [0x7159e0]
mov dword [esp], eax
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
lea ecx, [0x7b1434]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
add esp, 0xc0
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
lea eax, [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.005d2c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebp
add esp, 0xc0
ret
inc edi
mov eax, dword [esp + 0xc4]
cmp edi, esi
jge 0x5d765a
mov eax, dword [ebp + edi*4]
test eax, eax
jne 0x5d7614
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0xc0
ret
lea eax, [0x6ebc40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x88]
xor edx, edx
mov ebx, dword [esp + 0x30]
xor ebp, ebp
jmp 0x5d769e
mov esi, dword [esp + 0x90]
add esi, 0xc
mov edi, dword [esp + 0x40]
lea edx, [edi + 1]
mov ebp, ecx
mov ecx, esi
mov esi, dword [esp + 0x30]
cmp edx, esi
jge 0x5d77c2
mov dword [esp + 0x48], ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x90], ecx
mov eax, dword [ecx]
mov dword [esp + 0x8c], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
mov edi, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.005d8e80
movzx eax, byte [esp + 0x18]
test al, al
je 0x5d77ae
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jb 0x5d7735
mov ecx, eax
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x94]
jmp 0x5d776a
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6ebc40]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + ecx*2]
mov ebp, dword [esp + 0x38]
mov dword [eax + edx*4 - 8], ebp
mov ebp, dword [esp + 0x3c]
mov dword [eax + edx*4 - 4], ebp
mov ebp, dword [0x995310]
test ebp, ebp
jne 0x5d7790
mov ebp, dword [esp + 0x8c]
jmp 0x5d77a5
call fcn.00468e70
mov ebp, dword [esp + 0x8c]
mov dword [edi], ebp
mov esi, dword [eax + edx*4 - 0xc]
mov dword [edi + 4], esi
mov dword [eax + edx*4 - 0xc], ebp
jmp 0x5d7689
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x94]
jmp 0x5d7689
test ebp, ebp
jne 0x5d787e
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
lea ecx, [0x7b13e4]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
add esp, 0xc0
ret
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0xc0
ret
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.005d6f90