Function at 0x65db30
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]
cmp esp, dword [ecx + 8]
jbe 0x65dd65
sub esp, 0x60
xor eax, eax
jmp 0x65db52
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x65dc7a
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x70]
movzx ebp, byte [ebx + eax]
xchg ebp, eax
mov byte [esp], al
xchg ebp, eax
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x65db4b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea edx, [0x6f4820]
mov dword [esp + 0x38], edx
lea ebx, [0x945c20]
lea eax, [ebx + eax*8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea edi, [esp + 0x48]
xor eax, eax
call fcn.004690fa
lea eax, [0x65dd70]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], 0x37
lea eax, [0x74f6af]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 2
lea eax, [esp + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [0x96e848]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
call fcn.004e25d0
lea eax, [0x6f4820]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.0044e560
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x74]
xor ebx, ebx
jmp 0x65dc93
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov ebp, dword [esp + 0x24]
inc ebp
mov ebx, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x74]
cmp ebp, ecx
jle 0x65dd3d
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
movzx ebx, byte [ecx + eax]
mov byte [esp + 0x23], bl
mov edx, dword [esp + 0x6c]
mov ebp, dword [edx]
mov byte [esp], bl
call ebp
movzx eax, byte [esp + 4]
test al, al
je 0x65dd2c
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x65dce8
mov ecx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
jmp 0x65dd1a
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebp, byte [esp + 0x23]
xchg ebp, ebx
mov byte [ecx + eax - 1], bl
xchg ebp, ebx
jmp 0x65dc8a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
jmp 0x65dc8a
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004523c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
call fcn.00467a60
jmp fcn.0065db30