Function at 0x5d5400
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5d5b16
sub esp, 0x94
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x5d5463
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5d545b
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x5d5455
or ecx, 0x80
mov edx, dword [esp + 0x58]
jmp 0x5d5469
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x5d5469
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
mov ebx, ecx
and ecx, 0x1f
mov dword [esp + 0x30], ecx
cmp ecx, 0x17
jne 0x5d5488
mov ebp, dword [edx + 4]
jmp 0x5d54ac
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004bb2d0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x9c]
add ebp, dword [esi]
mov dword [esi], ebp
mov edi, dword [esp + 0xa0]
cmp edi, ebp
jl 0x5d54cf
cmp ecx, 0x17
mov ebp, 0
jmp 0x5d556f
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0x94
ret
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
mov ecx, dword [esp + 0x30]
cmp ecx, 0x17
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x2c], ebp
jne 0x5d557a
mov ecx, dword [edx + 4]
jmp 0x5d55ac
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004bb2d0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
cmp ebp, ecx
jge 0x5d57a6
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004baf30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bb0e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xb4]
mov dword [esp], ebp
mov esi, dword [esp + 0xb8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d5742
movzx ecx, byte [esp + 0x10]
test cl, cl
je 0x5d5547
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004690fa
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
call fcn.00409d40
mov ecx, dword [esp + 8]
lea edx, [0x6f44e0]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
call fcn.00409d40
mov ecx, dword [esp + 8]
lea edx, [0x6f44e0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x90], ecx
lea ecx, [0x747d38]
mov dword [esp], ecx
mov dword [esp + 4], 0x22
lea ecx, [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c4b20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea ecx, [0x71a8e0]
mov dword [esp], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00409b00
mov ecx, dword [esp + 8]
lea edx, [0x7b13e4]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
add esp, 0x94
ret
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0x94
ret
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x5d57eb
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5d57e3
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x5d57dd
or ecx, 0x80
mov edx, dword [esp + 0x50]
jmp 0x5d57f1
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x5d57f1
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov ebx, ecx
and ecx, 0x1f
mov dword [esp + 0x30], ecx
cmp ecx, 0x17
jne 0x5d5810
mov ebp, dword [edx + 4]
jmp 0x5d5842
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004bb2d0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
add ebp, dword [esi]
mov dword [esi], ebp
cmp edi, ebp
jl 0x5d5859
cmp ecx, 0x17
mov ebp, 0
mov esi, 1
jmp 0x5d58cf
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0x94
ret
mov edi, dword [esp + 0x28]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x30]
cmp ecx, 0x17
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, edi
mov dword [esp + 0x28], ebp
jne 0x5d58da
mov edi, dword [edx + 4]
jmp 0x5d590d
xchg esi, eax
mov byte [esp + 0x1f], al
xchg esi, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004bb2d0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
movzx esi, byte [esp + 0x1f]
cmp ebp, edi
jge 0x5d59f5
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004baf30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bb0e0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xb4]
mov dword [esp], ebp
mov esi, dword [esp + 0xb8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d5991
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d58b1
jmp 0x5d59f7
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0x94
ret
mov eax, esi
test al, al
je 0x5d5a18
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0x94
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x74ab3f]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x5c]
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 + 0x98]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x71a8e0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00409b00
mov eax, dword [esp + 8]
lea ecx, [0x7b13e4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0x94
ret
call fcn.00467a60
jmp fcn.005d5400