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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x120]
cmp eax, dword [ecx + 8]
jbe 0x5d6737
sub esp, 0x1a0
mov eax, dword [esp + 0x1a4]
mov ecx, dword [eax + 0x1a0]
test ecx, ecx
jne 0x5d61ab
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
je 0x5d5c3d
mov edx, dword [esp + 0x1ac]
mov ebx, dword [edx + ecx*4 - 4]
mov ebp, dword [ebx + 0x34]
cmp dword [eax + 0x28], ebp
jne 0x5d5bb1
mov ecx, dword [ebx + 0x30]
mov edx, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5d5baa
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1b0]
jmp 0x5d5c3d
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 5
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
mov edx, dword [esp + 0x1b8]
test byte [edx], al
lea esi, [edx + 0x10]
lea edi, [esp + 0xe8]
call fcn.004695de
lea edi, [esp + 0xd4]
lea esi, [esp + 0xe8]
call fcn.004695de
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd4]
test ecx, 0x80000000
je 0x5d5ca2
mov ebp, ebx
shl ebx, 1
shl ecx, 1
mov esi, ebp
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x5d5cb2
mov ebp, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
mov esi, ebx
test ecx, ecx
sete cl
test ebp, ebp
sete bl
and ecx, ebx
test cl, cl
je 0x5d5ce5
test esi, 0x3fffffff
jne 0x5d5ce5
call fcn.0048bbf0
lea edi, [esp + 0xe8]
lea esi, [esp]
call fcn.004695de
mov eax, dword [esp + 0x1a4]
lea esi, [eax + 0x158]
mov dword [esp + 0xa0], esi
lea edi, [esp + 0x138]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0xe8]
call fcn.004695de
lea edi, [esp + 0x14]
lea esi, [esp + 0x138]
call fcn.004695de
call fcn.0048a060
movzx eax, byte [esp + 0x28]
test al, al
jne 0x5d6004
mov eax, dword [esp + 0x1a4]
lea esi, [eax + 0x16c]
mov dword [esp + 0xa0], esi
lea edi, [esp + 0x110]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0xe8]
call fcn.004695de
lea edi, [esp + 0x14]
lea esi, [esp + 0x110]
call fcn.004695de
call fcn.00489f40
movzx eax, byte [esp + 0x28]
test al, al
jne 0x5d5e5d
mov eax, dword [esp + 0x1b8]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x5d5d9a
mov dword [esp + 0x3c], 0x3d090
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x1a8]
cmp eax, 1
jne 0x5d5db9
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
jmp 0x5d5dc7
cmp eax, 2
jne 0x5d5e0a
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
je 0x5d5dce
cmp eax, 1
jmp 0x5d5e14
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x38
lea ecx, [0x74fad3]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
cmp eax, 1
mov ecx, dword [esp + 0x1b0]
je 0x5d5e1b
cmp eax, 2
jne 0x5d5e56
mov edx, dword [esp + 0x1a4]
mov ebx, dword [edx + 0x184]
nop
mov ebp, dword [0x967e90]
mov esi, dword [0x967e94]
mov dword [esp + 0x38], esi
mov edi, dword [edx + 0x188]
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
jmp 0x5d66ae
xor edx, edx
jmp 0x5d61cc
lea edi, [esp]
lea esi, [esp + 0xe8]
call fcn.004695de
lea eax, [0x742cb0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x19
call fcn.00483cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
lea edi, [esp + 0xfc]
mov esi, dword [esp + 0xa0]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0xfc]
call fcn.004695de
lea ecx, [0x742cb0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x19
call fcn.00483cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x744288]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
lea edi, [esp]
lea esi, [esp + 0xe8]
call fcn.004695de
lea eax, [0x742cb0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x19
call fcn.00483cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
lea edi, [esp + 0x124]
mov esi, dword [esp + 0xa0]
call fcn.004695de
lea edi, [esp]
lea esi, [esp + 0x124]
call fcn.004695de
lea ecx, [0x742cb0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x19
call fcn.00483cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x744b5a]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
lea eax, [0x7b1448]
mov dword [esp + 0x1bc], eax
lea eax, [0x994f00]
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
test dl, dl
je 0x5d61e6
mov edx, dword [esp + 0x1ac]
xor ebx, ebx
xor ebp, ebp
lea esi, [esp + 0x2c]
xor edi, edi
jmp 0x5d632f
cmp eax, 1
jne 0x5d6268
mov eax, dword [esp + 0x1a4]
movzx edx, byte [eax + 0x1c0]
test dl, dl
je 0x5d6208
movzx edx, byte [eax + 0x1c1]
test dl, dl
jne 0x5d626f
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
mov eax, dword [esp + 0x1a4]
movzx edx, byte [eax + 0x1c0]
test dl, dl
je 0x5d62e9
mov edx, dword [eax + 0x1c4]
test edx, edx
jl 0x5d62e9
dec ecx
cmp edx, ecx
jge 0x5d62e9
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 3
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x1a0
ret
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x1a0
ret
mov edx, dword [esp + 0x60]
lea ebx, [edx + 1]
mov edx, dword [esp + 0x1b0]
mov ebp, dword [esp + 0x1ac]
mov edx, ebp
mov ebp, ecx
mov edi, eax
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], edi
cmp ecx, ebx
jle 0x5d6407
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x94], eax
mov edx, dword [eax + 0x184]
mov ecx, dword [0x967e80]
mov dword [esp + 0x90], ecx
mov ebx, dword [0x967e84]
mov dword [esp + 0x34], ebx
mov eax, dword [eax + 0x188]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
jmp 0x5d6601
jge 0x5d63fc
lea eax, [edi + 1]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jae 0x5d63cb
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x72cbc0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
mov edx, dword [0x995310]
test edx, edx
jne 0x5d63de
mov edx, dword [esp + 0x94]
jmp 0x5d63f3
call fcn.00468e70
mov edx, dword [esp + 0x94]
mov dword [edi], edx
mov ebx, dword [esi + eax*4 - 4]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 4], edx
jmp 0x5d6306
mov ecx, dword [esp + 0x30]
mov eax, edi
jmp 0x5d6306
xor edx, edx
jmp 0x5d642b
mov ebx, dword [esp + 0x60]
lea edx, [ebx + 1]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1b0]
cmp edx, edi
jge 0x5d64f2
mov dword [esp + 0x60], edx
mov ebx, dword [esi + edx*4]
mov ebp, dword [ebx + 0x184]
mov ebx, dword [ebx + 0x188]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
jmp 0x5d651a
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x5d6750]
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0xa8], edx
lea esi, [esp + 0x54]
mov dword [esp + 0xac], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0xb0], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
call fcn.005cb6d0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d640b
jmp 0x5d657a
cmp eax, 1
jmp 0x5d61e9
add ebp, 0x1c
mov ecx, dword [esp + 0x58]
inc ecx
mov eax, esi
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
jge 0x5d6463
lea edi, [esp + 0x184]
mov esi, ebp
call fcn.004695ca
mov ecx, dword [esp + 0x188]
mov esi, eax
lea eax, [0x967e80]
cmp dword [eax + 4], ecx
jne 0x5d64fa
mov edi, dword [esp + 0x184]
mov esi, dword [0x967e80]
xor eax, eax
mov dword [esp + 0x48], eax
lea eax, [0x967e80]
jmp 0x5d65ac
lea eax, [0x967e80]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x1a8]
jmp 0x5d64fa
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], ecx
add esp, 0x1a0
ret
lea eax, [edx + 1]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
lea eax, [0x967e80]
mov edx, dword [esp + 0x48]
cmp edx, ecx
jge 0x5d65c0
mov eax, dword [edi + edx*4]
lea ebx, [esi + edx*4]
cmp dword [ebx], eax
je 0x5d6597
jmp 0x5d6563
mov ebp, dword [esp + 0x194]
mov ebx, dword [esp + 0x198]
mov ecx, dword [esp + 0x19c]
jmp 0x5d6469
add edx, 0x1c
lea ecx, [ebp + 1]
mov ebp, dword [esp + 0x90]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x90]
mov ebp, dword [esp + 0x5c]
cmp ebp, eax
jge 0x5d638e
lea edi, [esp + 0x14c]
mov esi, edx
call fcn.004695ca
mov ecx, dword [esp + 0x150]
cmp ecx, ebx
jne 0x5d65da
mov esi, dword [esp + 0x14c]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
jmp 0x5d6665
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
jmp 0x5d65da
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
cmp ebx, ecx
jge 0x5d667a
mov eax, dword [esi + ebx*4]
lea ebp, [edi + ebx*4]
cmp dword [ebp], eax
je 0x5d6652
jmp 0x5d6644
cmp ebp, eax
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x2c]
jmp 0x5d638e
add ebx, 0x1c
lea ecx, [edx + 1]
mov edi, dword [esp + 0x50]
mov eax, esi
mov edx, dword [esp + 0x1a4]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x60]
cmp edx, edi
jge 0x5d66f9
lea edi, [esp + 0x168]
mov esi, ebx
call fcn.004695ca
mov ecx, dword [esp + 0x16c]
mov esi, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x5d668c
mov edi, dword [esp + 0x168]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x5d6711
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x1a8]
jmp 0x5d668c
setl dl
jmp 0x5d61cc
inc eax
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
cmp eax, ecx
jge 0x5d6726
mov esi, dword [edi + eax*4]
lea edx, [ebp + eax*4]
cmp dword [edx], esi
je 0x5d6701
jmp 0x5d66e8
mov ebx, dword [esp + 0x50]
cmp edx, ebx
mov eax, esi
mov ecx, dword [esp + 0x1b0]
jmp 0x5d66f9
call fcn.00467a60
jmp fcn.005d5b20